High Memory Usage for MailScanner {Virus Scanned}

Christo Bezuidenhout christo at IT4AFRICA.CO.ZA
Fri Jun 25 10:54:46 IST 2004


> -----Original Message-----
> From: MailScanner mailing list
> [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Ugo Bellavance
> Sent: 24 June 2004 09:32 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: High Memory Usage for MailScanner {Virus Scanned}
>
> 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...

Could be 79% if I add all those numbers I do not get to 700+ so it will then
be %

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

I have a single 1.7G processor. We do about 3k messages a day.

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

It seems to be swapping more and more. I had a memory drive on the old
machine but did not do it now for we get all of these problems. I made the
MailScanner working directory a ramdrive.

>
> >
> > 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
>
> --
> This message has been scanned for viruses and dangerous
> content by MailScanner, and is believed to be clean.
> Mailscanner thanks IT For Africa for their support.
>

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