High Memory Usage for MailScanner

Ugo Bellavance ugob at CAMO-ROUTE.COM
Thu Jun 24 20:31:47 IST 2004


Christo Bezuidenhout wrote:

> I have done a new install last night after we had a bad week so far. My server keeps running out of memory. we are running fedora core 1 sendmail 8.13.0 SA 2.63 and Latest Stable MailScanner
>
> here are the mailscanner processes that are running. For some reason the fourth line uses 79M of memory.

isn't it 79%? 587 MB?  That's critical...

>
>
> [root at mail root]# ps aux | fgrep MailScanner
> root     18625  0.0  0.2 22580 2024 ?        S    15:27   0:00 /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
> root     18683  0.4  1.3 50428 10364 ?       S    15:27   0:13 /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
> root     18719  0.8  0.9 49756 6940 ?        S    15:28   0:23 /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
> root     21277 52.5 79.2 2034748 587096 ?    R    15:47  12:56 /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
> root     21935  0.0  0.7 49048 5572 ?        S    15:53   0:00 /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
> root     21936  0.0  0.8 51100 6440 ?        S    15:53   0:00 /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
> root     22555  0.7  4.9 48392 36944 ?       S    16:01   0:04 /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
> root     23268  0.1  4.1 50792 30432 ?       R    16:09   0:00 /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
> root     23375  0.2  5.0 48676 37352 ?       S    16:11   0:00 /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
> root     23385  0.5  1.3 50428 10356 ?       S    16:11   0:00 /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
> root     23386  0.0  1.4 50428 10460 ?       R    16:11   0:00 /usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
> root     23389  0.0  0.0  5248  456 pts/0    R    16:11   0:00 fgrep MailScanner
>
> My conf has only 5 processes per CPU enabled.

How many processors you have in your server?

>
> Any Ideas? Please this is my mem usage after i restarted the MailScanner processes.
>
>              total       used       free     shared    buffers     cached
> Mem:        741232     396496     344736          0      14640     174424
> -/+ buffers/cache:     207432     533800
> Swap:      1502068      86372    1415696
>
> The free goes down to about 5000 then the server start killing processes.

Does it start swapping a lot?

>
> If more info needed please let me know.
>
> Christo Bezuidenhout

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