Mailscanner eating my resources. I just can't fix it. Help!

Robert Borkowski robert at TIMARU.COM
Tue Jun 29 00:09:23 IST 2004


::> I've been really trying to solve it myself, but I'm really
::running out
::> of ideas.
::>
::  > If I'll terminate those continuously running processes,
::all is back to
::> normal,otherwise my incoming queue is growing and waiting to be
::> process by MailScanner/SpamAssassin. If everything is running
::> normally, my CPU usage is 5%. Otherwise, it's up to 97-99%. This
::> happens very randomly, sometimes all is fine for an hour and then I
::> still one of perl processes are running continuously and
::the time is
::> growing. System load is +1 then. After a while another
::process will do
::> the same and so on.
::>
::
::Is your system swapping at these moments?
::
::By the way, a system load of 1 is far from being critical.
::It only means that 1 process is waiting for cpu time or I/O.
::
::Having a cpu usage of 99% is normal when MailScanner is
::processing messages, on a dedicated MailScanner machine.
::
::You should check the reason for your Spamassassin timeouts I think.
::
::Most of performance problem are related to a system starting
::to swap, but with the info you gave us we can't really tell
::if it is the problem or not.


No, it's not swapping, but the swap file is enabled and works.

Of course that system load of 1 is not critical, but if I will leave my
machine for 12 hours
I will have 6 and more. All because of those "continuously running"
processes.

I've narrow the problem to the bayes system. When I turn it off, all is
just fine.
CPU usage < 5%, system load < 1. No mail waiting in the queue.in to be
processes
by MailScanner/SpamAssassin.

I'm going to upgrade SA today.

Thanks,
rjb

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