MailScanner is responsible for SWAP usage!

Rob Poe rpoe at plattesheriff.org
Mon May 22 17:23:14 IST 2006


Box 1:  Rebooted Sunday at 3:00am
Mem:   2074872k total,  1337748k used,   737124k free,    54744k
buffers
Swap:  2031608k total,      144k used,  2031464k free,   276756k
cached

Box 2: 57 days uptime
Mem:   5974104k total,  5510124k used,   463980k free,   165700k
buffers
Swap:  2031608k total,      144k used,  2031464k free,   842580k
cached

Box 3: 67 days uptime
Mem:  1541512k av, 1518028k used,   23484k free,       0k shrd, 
251628k buff
Swap: 2558152k av,   93004k used, 2465148k free                 
686804k cached

Box 4: 16 days uptime
Mem:   479644k av,  409920k used,   69724k free,       0k shrd,  
34880k buff
Swap: 2112440k av,    8156k used, 2104284k free                 
159268k cached

Box 5: 31 days uptime
Mem:   254212k av,  232344k used,   21868k free,       0k shrd,  
56916k buff
Swap:  666616k av,      28k used,  666588k free                  
61704k cached

Box 3 is a squid / httpd / does 15 minute big cron jobs / mailscanner
with clam and spamassassin and antivir / ldap / general lots of other
stuff box.  Not lagging, even though it's 93mb into swap.  

Box 4 lags pretty hard .. but it's a 800mhz 512mb ram IDE box.  That
has some to do with it..

Box 5 is also IDE, it's a 350mhz box, but no spamassassin.  Just clam /
Mailscanner..  purrs fine

Different configs use different amounts of ram.  





>>> jon at radel.com 5/21/2006 7:36:44 PM >>>

Kai Schaetzl wrote:
> Richard Lynch wrote on Sun, 21 May 2006 16:58:06 -0400:
> 
>> A 650KB swap file is nothing.
> 
> I'm sure he means 650 MB.
> 
> Kai
> 

Why?  Linux boxes are perfectly capable of gathering little bits of
cruft in swap.  I've got a [much wimpier than those under discussion]
Linux box here that in the last 203 days has somehow gathered 163KB in
swap that just sits there despite there being 5MB physical RAM free
(and
considerably more physical RAM free if you subtract the buffers and
cache).

--Jon Radel
-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info 
http://lists.mailscanner.info/mailman/listinfo/mailscanner 

Before posting, read http://wiki.mailscanner.info/posting 

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list