MailScanner suddently taking all the CPU and a lot of memory.

Yannick Cayer ycayer at
Mon Feb 16 14:46:22 GMT 2004

I found out while investigating another problem, that if disabled Spam
checking and Spamassassin, that MailScanner is no longer randomly taking all
the CPU and crashing.

So it would appear that the problem is in Spamassassin.

As anyone ever experienced this with Spamassassin?

Thank you again for your help.


From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
Of Yannick Cayer
Sent: Monday, February 02, 2004 5:48 PM
Subject: MailScanner suddently taking all the CPU and a lot of memory.


I have the following configuration:

with spamassassin 2.61
sendmail 8.11.6-27

on an IBM x235

2 2.4GHZ Processors
1.25 GHZ of RAM
Hot swapable raid 5 config.

We have about a 100 small sites configured for mail mostly and some, web.

This is running on RedHat Linux 7.3 Kernel 2.4.18-27.7.xsmp

We have been running MailScanner on that machine for almost 2 years now
without any problems.

Since last week, MailScanner has been bringing the server almost to a
complete halt, loads are skyrocking very suddently to 200! It is also taking
at that time about 25MB per MailScanner process.

It does this for several minutes to a few hours and then suddently comes

I really don't know what can be causing this.

I have read the mail archives for this problem but the solutions I found
were not appropriate to my specific problem/condition.

My config has the max attachments set to 5 and the MailScanner processes set
to 10 (5 per CPU).

Can anyone help?

Thank you in advance.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list