Mailscanner eats 23% of memory (1G)

WIAME Jean-Robert jrw-abc at ngi.be
Tue Jun 29 14:48:33 IST 2004


Hi,
I have a problem with MailScanner
I'm using version 4.26.7-2
Mailscanner eats lot's of memory (23% of 1G) when running without any
mail to scan (Launch it on a not connected server).
I have to set in the config file Max Children = 1 to be able to use the
server (at 5, all memory+swap were used)

Here the current state (no scan only running) from 'top':
Mem:   1036472k total,   570720k used,   465752k free,    26728k buffers
Swap:   489972k total,    36140k used,   453832k free,   225612k cached
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
COMMAND                                                                                                                                             28069 Debian-e  18   2  239m 235m 4536 S  0.0 23.2   1:13.38 MailScanner                                                                                                                                         28068 Debian-e  18   2 16972  14m 3928 S  0.0  1.4   0:00.00 MailScanner

# ps axfu
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
Debian-  28068  0.0  1.4 16972 14724 ?       SNs  14:34   0:00
/usr/bin/perl -I/usr/share/MailScanner /usr/sbin/MailScanner
/etc/MailScanner/MailScanner.conf
Debian-  28069  2.0 23.2 245380 240720 ?     SN   14:34   1:13
\_ /usr/bin/perl -I/usr/share/MailScanner /usr/sbin/MailScanner
/etc/MailScanner/MailScanner.conf

This problem begin at 2am. Nothing has been done.
What could be the cause?
I'm using MailScanner in conjunction with SpamAssassin and Clamav. Exim
is the MTA and I use SPF in exim ACL

Thanks

--
WIAME Jean-Robert <jrw-abc at ngi.be>
Institut Geographique National

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