Mailscanner memory-size increasing

Leen Besselink leen at wirehub.nl
Sat May 8 10:50:14 IST 2004


Hi,

First off it'd like to see I think Mailscanner got a lot of things right,
great stuff.

I've hit a snag so it seems.

Today I had my mx crash because the swap was exhausted, now this could be
related to a number of things (including the rsync-backup and the growing
size of SA's database), but I think I've seen a problem in MailScanner.

I've got MailScanner set to Max Children = 1 because the performance
wasn't so great, so lowering it seemed a good idea (less memory usage).

Now that the server was down, I started to keep a closer eye on that one
MailScanner process and I noticed that at one point in time it was 50 MB,
then the logfile said it died of old age, but the new process was also
almost 50 MB. So I'm thinking is it forked by the process that died of old
age ? or it's parent (with only 19 MB of memory usage).

This could just be related to MailScanner not working properly with Max
Children = 1 or something, I'm not sure.

But that's what I saw (50 MB old process, now process pretty much the
same).

I should also add that I think that's process with makes the swap grow,
because I see the swap grow slowly an MB per a certain amount of messages
(btw MailScanner is the only big process on the machine).

That's what I've noticed.

As it's a very quiet day today it seems...

I've now given it a few messages to deal with.

Now look at this (ps aunxf), 3 processes ??:

     100   224  0.0  1.0 18912 1972 ?        S    10:23   0:00 [MailScanner]
     100  1841  0.9 23.5 51048 45196 ?       S    10:57   0:26  \_ [MailScanner]
     100  3105  0.0 23.6 51064 45244 ?       R    11:45   0:00      \_ [MailScanner]

a little bit later:
     100   224  0.0  1.0 18912 1972 ?        S    10:23   0:00 [MailScanner]
     100  1841  1.5 23.6 51304 45408 ?       S    10:57   0:47  \_ [MailScanner]

so yes it grows.

That should not be happing I would say.
_____________________________________
New things are always on the horizon.

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list