Not enough free swap space to hibernate

Vincent Trouilliez vincent.trouilliez at modulonet.fr
Wed Mar 25 13:12:59 UTC 2009


On Wed, 25 Mar 2009 07:07:07 -0600
"Karl F. Larsen" <klarsen1 at gmail.com> wrote:

> Vincent Trouilliez wrote:
> > I have the same problem, Ubuntu often uses lots of swap even though
> > there is bags of available RAM, therefore slowing down the system with
> > lots of useless disk access).
> >
> > I found that closing all programs doesn't empty the swap at all. All it
> > does is get (some of, not all) the RAM.
> >
> > The solution I found to empty the swap is to disable it: it forces the
> > kernel to empty it first. Then I just re-enable it as soon, and I the
> > system starts from a clean sheet so to speak.
> >
> >
> >   
> top - 06:56:10 up 13:30,  3 users,  load average: 0.25, 0.20, 0.17
> Tasks: 126 total,   4 running, 122 sleeping,   0 stopped,   0 zombie
> Cpu(s): 10.4%us,  1.7%sy,  0.0%ni, 88.0%id,  0.0%wa,  0.0%hi,  0.0%si,  
> 0.0%st
> Mem:   1034328k total,   817656k used,   216672k free,    89356k buffers
> Swap:  1959920k total,        0k used,  1959920k free,   360680k cached
> 
> There seems to be some cached and some buffers. But this Hardy is not on 
> a laptop. As you see I have 1 Gig of RAM and 2 Gig of Swap partition.
> 
> Karl

What's your point, wrt to my post which you quoted, or even the OP ?

--
Vince




More information about the ubuntu-users mailing list