SpamAssassin 2.55 problem

Julian Field mailscanner at ecs.soton.ac.uk
Sun Jun 29 14:47:57 IST 2003


One of the important things to do on small systems is to reduce the
         Max Children
setting in MailScanner.conf. This will greatly reduce the memory required.
On a lightly loaded system you probably need only 1 or maybe 2 child
processes. The default of 5 is for systems which have plenty of RAM.

I suggest you give that a try, it may well help.

At 12:59 29/06/2003, you wrote:
>Hi.
>
> > Does anyone have SpamAssassin 2.55 working well?
>
>I have MailScanner 4.21-9 and SpamAssassin 2.55 with latest Postfix.
>
>Before I had a Celeron 533 with 64 MB RAM. My mailserver load is quite
>low (maybe 80-100 messages per day) and it didn't work OK. System was
>using about 100MB of SWAP space! SpamAssassin was timing out, mails
>were stuck in the queue...
>
>I upgraded to 320 MB RAM (I added 256MB) and since then everything
>works just fine.
>
>root at Illusion:~# free
>              total       used       free     shared    buffers     cached
>Mem:        319904     282456      37448          0      65060      49088
>-/+ buffers/cache:     168308     151596
>Swap:       514072          0     514072
>
>These are the MailScanner processes - they indeed need a lot of
>memory.
>
>postfix  32374  0.0  2.9 10680 9400 ?        S    Jun28   0:00
>/usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner
>/opt/MailScanner/etc/Mail
>postfix   1480  0.0  6.7 23036 21532 ?       S    11:02   0:08
>/usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner
>/opt/MailScanner/etc/Mail
>postfix   1630  0.0  6.7 23012 21508 ?       S    11:51   0:06
>/usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner
>/opt/MailScanner/etc/Mail
>postfix   1642  0.0  6.7 23044 21540 ?       S    11:54   0:06
>/usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner
>/opt/MailScanner/etc/Mail
>postfix   1743  0.1  6.7 23000 21496 ?       S    12:19   0:05
>/usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner
>/opt/MailScanner/etc/Mail
>postfix   1957  0.2  6.7 23016 21512 ?       S    13:23   0:03
>/usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner
>/opt/MailScanner/etc/Mail
>
>(There are also other services running on the server
>(sshd, Samba, dhcpd, named, FreeSWAN, ProFTPd), but since
>server is for my personal use, their resource usage is quite low.)
>
>My question: Is this behaviour normal? Does MailScanner (and
>SpamAssassin?) really need so much memory to work smoothly?
>
>Thank you for your answer.
>
>Best regards,
>
>--
>Nejc Skoberne
>Grajska 5
>SI-5220 Tolmin
>E-mail: nejc.skoberne at guest.arnes.si

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list