The last couple time I tried to hibernate, I got an error message:
PM: Not enough free swap
I find that hard to believe: [hennebry@localhost doc]$ free -m total used free shared buffers cached Mem: 3833 1124 2709 0 51 286 -/+ buffers/cache: 786 3047 Swap: 11453 356 11097 [hennebry@localhost doc]$ 1124+786+356=2266< 11097
How do I figure out what is going on and fix it?
On 07/07/2014 06:55 AM, Michael Hennebry wrote:
The last couple time I tried to hibernate, I got an error message:
PM: Not enough free swap
I find that hard to believe: [hennebry@localhost doc]$ free -m total used free shared buffers cached Mem: 3833 1124 2709 0 51 286 -/+ buffers/cache: 786 3047 Swap: 11453 356 11097 [hennebry@localhost doc]$ 1124+786+356=2266< 11097
How do I figure out what is going on and fix it?
How much RAM do you have?
On Mon, 7 Jul 2014, Rob Kampen wrote:
On 07/07/2014 06:55 AM, Michael Hennebry wrote:
The last couple time I tried to hibernate, I got an error message:
PM: Not enough free swap
I find that hard to believe: [hennebry@localhost doc]$ free -m total used free shared buffers cached Mem: 3833 1124 2709 0 51 286 -/+ buffers/cache: 786 3047 Swap: 11453 356 11097 [hennebry@localhost doc]$ 1124+786+356=2266< 11097
How do I figure out what is going on and fix it?
How much RAM do you have?
4G.
In any case, for whatever reason, hibernate likes me now. It let me hibernate after the free -m given and also just now.
From previous failures, I found the "PM: Not enough free swap" in messages,
but nothing to show how much swap it thought it needed. In the future, I will run free -m before trying to hibernate.
On 07/06/2014 02:55 PM, Michael Hennebry wrote:
The last couple time I tried to hibernate, I got an error message:
PM: Not enough free swap
I find that hard to believe: [hennebry@localhost doc]$ free -m total used free shared buffers cached Mem: 3833 1124 2709 0 51 286 -/+ buffers/cache: 786 3047 Swap: 11453 356 11097 [hennebry@localhost doc]$ 1124+786+356=2266< 11097
How do I figure out what is going on and fix it?
FWIW, I create 2xmemory for swap size. My theory is if all the memory is used, then probably some of the swap is as well, so there better still be as much unused swap as memory. So far I have not failed to hiberate with this approach.