Ram eat up

Brendan Chard chardlist at CHARD.NET
Wed Jun 9 21:09:15 IST 2004


The MEM stat in the PS command is a reading of the percentage of memory
being used, not actual megabytes.  The other server you checked probably has
more memory than the one that is reading 5.1

If each process (30MB) is taking up 5.1% of your memory then you probably
have 512MB of memory in the server whereas the other machine probably has
4GIG.  So, since you can't change how much memory each child takes up just
by more RAM.

-Brendan

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
Of Shahid Hussain
Sent: Wednesday, June 09, 2004 3:52 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Ram eat up

> > As you can see its "5.1" Mem but my mail server is not busy
> > at all, I only
> > get about 1 or 2 emails everyday on this server.
>
> You have to look at all the children to see the reduction in Memory usage.

Like i said before I set childrens to 4 in MailScanner.conf.  Yes I did
check all the mailscanner process, it still using 5.1 MEM and even  "Spam
Checks = no", take a look below:

mail   52256  0.0  5.1 27784 26576  ??  S     8:10PM   0:00.71
/usr/bin/perl -I/usr/local/lib/MailScanner /usr/local/libexec
mail   52291  0.0  5.1 27784 26576  ??  S     8:11PM   0:00.71
/usr/bin/perl -I/usr/local/lib/MailScanner /usr/local/libexec
mail   52292  0.0  5.1 27784 26572  ??  S     8:11PM   0:00.71
/usr/bin/perl -I/usr/local/lib/MailScanner /usr/local/libexec
mail   52294  0.0  5.1 27784 26572  ??  S     8:11PM   0:00.73
/usr/bin/perl -I/usr/local/lib/MailScanner /usr/local/libexec


> If you only get 1 or 2 emails a day reduce the max number of children to
1.
>
> If you're concerned about MailScanner using all of your memory and you
only
> get 1 or 2 email a day, why are you using it?

There is no point reducing max number of children to 1.  That is because I
have no clients/users using my server at the moment - it will web hosting
server soon and of course it will get a lot of emails soon when I have new
clients. What other possible reason using alot of mem?


I have shell accout on another server (not my server), when i checked the
process:
mailnull  5074  0.0  0.8 11836 8364 ?        S    19:22   0:02
/usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanne
mailnull  5096  0.0  0.8 11676 8468 ?        S    19:23   0:02
/usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanne
mailnull  5876  0.0  0.7 11504 7696 ?        S    19:32   0:02
/usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanne
mailnull  6083  0.0  0.7 11560 7980 ?        S    19:35   0:02
/usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanne
mailnull  6226  0.0  0.7 11492 7880 ?        S    19:37   0:01
/usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanne

As you can see it is not using alot of mem? even though it is quite busy
server


Thanks

-------------------------- 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

-------------------------- 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