zirias@
Developer
I've had several occassions of a system running into a "livelock" (well, probably a deadlock for a few processes) during "massive" poudriere builds, so, a lot of disk I/O, a lot of CPU load and some swap in use. Maybe the problem is solved meanwhile, I'm not sure about that, will have to observe… so far only for background info.
Anyways, looking for some help on IRC, I was also told that having swap encrypted could be troublesome, because GELI needs to dynamically allocate memory sometimes, and this could lead to deadlocks when no RAM is available (which sounds very plausible when, for accessing swap, GELI is needed).
My question is: is this indeed (and, still?) an issue? And if so, does anyone know of any efforts to solve this? IMHO, encrypted swap makes sense, and also, swapon(8) explicitly supports this by automatically creating devices given to it with a .eli suffix – so using this should be safe?
Anyways, looking for some help on IRC, I was also told that having swap encrypted could be troublesome, because GELI needs to dynamically allocate memory sometimes, and this could lead to deadlocks when no RAM is available (which sounds very plausible when, for accessing swap, GELI is needed).
My question is: is this indeed (and, still?) an issue? And if so, does anyone know of any efforts to solve this? IMHO, encrypted swap makes sense, and also, swapon(8) explicitly supports this by automatically creating devices given to it with a .eli suffix – so using this should be safe?