Swap problems

Smoot Carl-Mitchell smoot at tic.com
Mon Feb 9 17:42:48 UTC 2009


On Mon, 2009-02-09 at 18:12 +0100, Nils Kassube wrote:
> lee wrote:
> > This is a copy of what free shows me :             total
> > used       free     shared    buffers     cached
> > Mem:       4121252    1340400    2780852          0      93616    
> > 630440 -/+ buffers/cache:     616344    3504908
> > Swap:      4096532          0    4096532
> >
> > Now as you can see I have 4gigs of ram and still use a swap partition
> > as without it I would soon run out of room with some of the
> > applications that I run at one time sometimes I will have 10 or 12
> > applications running. It is always better to have than not
> 
> I think this doesn't show the necessity of swap space. You have none of 
> the swap in use and still there are 3.5G free.

Sounds like some module added to the kernel is exceeding the vmalloc
upper limit.  Take a look at /proc/meminfo and see what the values are
of VmallocTotal and VmallocUsed.

Are you running a 32bit kernel?  You may need to bump up VmallocTotal by
adding the vmalloc parameter to your grub configuration.
-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list