[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Swap fscked in 2.4.5?



* Geoffrey Romer (gromer@hmc.edu) spake thusly:
> My swap partition is behaving very rudely. Specifically, swap space never seems
> to get freed- swap size only increases, never decreases. Once it maxes out,
> the system becomes sluggish, and there's nothing to do but reboot (the notion
> of rebooting a system to fix a problem is giving me Windows flashbacks...)
> 
> I'm told that this is a bug in the 2.4 series- does anyone know if upgrading
> to 2.4.6 will help this problem at all? 

I've not monitored swap usage since upgrading to 2.4.6 so I cannot answer
that.

If not, are there any other 
> workarounds?

How much swap & RAM do you have? I've heard (on kernel mailing list IIRC) 
that if your swap is 2-3 * RAM size, the bug shouldn't hurt anything. I've 
less swap then RAM here, and I get out of memory errors after about 2 weeks 
uptime.

AFAIK known workarounds are to have plenty of swap or to reboot the box
every once in a while.

Dima
-- 
E-mail dmaziuk at bmrb dot wisc dot edu (@work) or at crosswinds dot net (@home)
http://www.bmrb.wisc.edu/descript/gpgkey.dmaziuk.ascii -- GnuPG 1.0.4 public key
The wombat is a mixture of chalk and clay used for respiration.       -- MegaHal



Reply to: