On 2017-12-14 23:28, Dave Howorth wrote:
On Thu, 14 Dec 2017 22:50:56 +0100 (CET) "Carlos E. R." <> wrote:
But what happens if swap space is all in use when hibernation is requested? Does the system refuse to hibernate? Or trash running process images?
AFAIK it leaves the swaped pages as they are (unless those processes need to run before being hibernated), and adds the hibernation image to swap. So you may need a lot of swap.
Yes, but that doesn't answer my question. What if swap is full?
Then hibernation will hopefully fail, or if not lucky, crash.
And however much swap you have, it might still be full. I'm hoping that there's some designed solution, which I'm simply ignorant of.
No. The only think you can do in that situation is add more swap, or free more memory (of whatever kind). -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)