Memory use

Glenn Steen glenn.steen at GMAIL.COM
Wed Nov 16 13:21:15 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

On 16/11/05, Martin Hepworth <martinh at solid-state-logic.com> wrote:
> How much ram? What does "vmstat 5" show when it's swapping.
>
> Have to reduced the number of Child processes in MailScanner.conf?
>
> --
> Martin Hepworth
> Snr Systems Administrator
> Solid State Logic
> Tel: +44 (0)1865 842300
>
> > -----Original Message-----
> > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> > Behalf Of José Angel Blanco González
> > Sent: 16 November 2005 12:39
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: [MAILSCANNER] Memory use
> >
> > After one or two hours of running my red hat linux 9 machine the Ram
> > memory
> > is fully ocupied, by programs and disk cache.
> > Then the system starts swaping and MailScanner reduces performance
> > drastically.
> >
> > Our systen has:
> > Mailscanner 4.45.4
> > Sendmail 8.12.8
> > Clamav 0.84
> > Spamassassin
> >
> > Here is the capture for 'free' command
> >                     total            used            free        shared
> > buffers        cached
> > Mem:            2840672    2812672     28000    0                126556
> > 2449792
> > -/+ buffers/cache:            236324       2604348
> > Swap:           1044184    77396         966788
> >
> > Any idea?
> > Thank you very much
> >
> > Jose
> >

Also, take a quick look at what processes are the top memory
consumers... Simple tools like "top" (sorted by memory consumers)
might impart a clue here.
It might not be MailScanner leaking the memory at all... One fun thing
I saw back when RH9 wasn't desupported (oh so far back;-), was that
gnome-terminal leaked like a veritable sieve... Especially ascerbated
by me running top in one of 'em, with a continually (erroneously)
growing scroll-back buffer, IIRC (Simple fix is to not use that
terminal, of course:-).

Also, you should at least update that frighteningly old clamav as soon
as humanely possible. Do you even receive signature updates to it any
more? Look at "tail /tmp/ClamAV.update.log" ....

Martin, AFAICS that'd be 2.7 GiB RAM (from the free output) which
probably means 3 GiB - "share memory graphics", or something similar.
So the tight situation would imply a very many MS clients, or a
"trusty" ol' leak (or several), wouldn't you agree?

--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list