MailScanner and SpamAssassin together causes Exterme CPU usage

Alex Neuman alex at rtpty.com
Thu Oct 15 21:42:50 IST 2009


The default depends on your setup. I, for one, have two rbl's at the  
MTA and the rest in SA - none in MailScanner. YMWDV.

On Oct 15, 2009, at 3:33 PM, Logs wrote:

> I believe the answer to this is MailScanner, but whatever the  
> default is.
>
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner- 
> bounces at lists.mailscanner.info] On Behalf Of Randal, Phil
> Sent: Thursday, October 15, 2009 11:46 AM
> To: MailScanner discussion
> Subject: RE: MailScanner and SpamAssassin together causes Exterme  
> CPU usage
>
> Silly question, I know, but where are you doing the blacklisting?
>
> In the MTA or in MailScanner?
>
> Phil
> -- 
> Phil Randal | Networks Engineer
> NHS Herefordshire & Herefordshire Council  | Deputy Chief  
> Executive's Office | I.C.T. Services Division
> Thorn Office Centre, Rotherwas, Hereford, HR2 6JT
> Tel: 01432 260160
> email: prandal at herefordshire.gov.uk
> Any opinion expressed in this e-mail or any attached files are those  
> of the individual and not necessarily those of Herefordshire Council.
>
> This e-mail and any attached files are confidential and intended  
> solely for the use of the addressee. This communication may contain  
> material protected by law from being passed on. If you are not the  
> intended recipient and have received this e-mail in error, you are  
> advised that any use, dissemination, forwarding, printing or copying  
> of this e-mail is strictly prohibited. If you have received this e- 
> mail in error please contact the sender immediately and destroy all  
> copies of it.
>
>
>
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner- 
> bounces at lists.mailscanner.info] On Behalf Of Logs
> Sent: 15 October 2009 16:00
> To: 'MailScanner discussion'
> Subject: RE: MailScanner and SpamAssassin together causes Exterme  
> CPU usage
>
> Oh right, should have figured that one out… 1GB RAM, 150GB 7200 RPM  
> Hard Drive, Intel Pentium D CPU 3.20GHZ, Bus 800 Mhz, L2 4MB (IMHO,  
> is way more than enough, although I just ordered another 2 GIGs of  
> RAM)
>
> And yes it is CPU tied
> Max Children = 5
> DCC, Pyzor, Razor
> Blacklists: zen.spamhaus.org, b.barracudacentral.org, bl.spamcop.net
> ClamAV
> sane-security using a cron job to download scripts
> SpamAssassin with KAM downloaded daily by using cron job, sought,  
> JKF-Anti-Phishing Version 2
> re2c, Rule2XSBody SA plugin
> FuzzyOCR (which I am not sure is working)
>
> That the info you are requesting?
>
>
>
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner- 
> bounces at lists.mailscanner.info] On Behalf Of Alex Neuman
> Sent: Thursday, October 15, 2009 10:23 AM
> To: MailScanner discussion
> Subject: Re: MailScanner and SpamAssassin together causes Exterme  
> CPU usage
>
> CPU, RAM, and the setting for Max Children = ? as well would be  
> crucial.
>
> Oh, and "slows down to a halt" because it's CPU-tied or disk-tied?  
> Have you checked CPU utilization? I know it's a long shot, but if  
> you had the SA database on a bad sector on a bad disk and the rest  
> of the disk were fine, using SA would slow the system down because  
> of the retries. This would show up as low CPU utilization and slow  
> disk access, for example. Maybe I've been watching too much House,  
> M.D. though.
>
> Are you using extra SA rules? DCC? Pyzor? Razor? Perhaps a more  
> thorough description of your system would work better.
>
>
> On Thu, Oct 15, 2009 at 9:11 AM, Sergio Rabellino <rabellino at di.unito.it 
> > wrote:
> Please, check that the dns is correctly set-up and fully functional.
> What are the hw specs of the server  ?
>
>
> Logs ha scritto:
> I have version 3.2.5-1.el5 installed in I installed it VIA YUM.  
> However I also uninstalled and downloaded the ClamAV, SA version off  
> the MailScanner website but it didn’t install SA for some reason.  
> And so I downloaded and installed VIA YUM again, only to have the  
> same problem re-occur.
>
> Vern
>
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner- 
> bounces at lists.mailscanner.info] On Behalf Of Randal, Phil
> Sent: Thursday, October 15, 2009 9:55 AM
> To: MailScanner discussion
> Subject: RE: MailScanner and SpamAssassin together causes Exterme  
> CPU usage
>
> Start by telling us which version of spamassassin you have  
> installed, and where you installed it from.
>
> Also, if you haven't already, run sa-update to ensure you have the  
> current SA rules.
>
> Phil
> -- 
> Phil Randal | Networks Engineer
> NHS Herefordshire & Herefordshire Council  | Deputy Chief  
> Executive's Office | I.C.T. Services Division
> Thorn Office Centre, Rotherwas, Hereford, HR2 6JT
> Tel: 01432 260160
> email: prandal at herefordshire.gov.uk
> Any opinion expressed in this e-mail or any attached files are those  
> of the individual and not necessarily those of Herefordshire Council.
>
> This e-mail and any attached files are confidential and intended  
> solely for the use of the addressee. This communication may contain  
> material protected by law from being passed on. If you are not the  
> intended recipient and have received this e-mail in error, you are  
> advised that any use, dissemination, forwarding, printing or copying  
> of this e-mail is strictly prohibited. If you have received this e- 
> mail in error please contact the sender immediately and destroy all  
> copies of it.
>
>
>
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner- 
> bounces at lists.mailscanner.info] On Behalf Of Logs
> Sent: 15 October 2009 14:40
> To: 'MailScanner discussion'
> Subject: MailScanner and SpamAssassin together causes Exterme CPU  
> usage
>
> I have no idea what to do as I have never come across this before. I  
> am using a CentOS 5.3 server and when I enable the “Use  
> SpamAssassin” option my server slows to a near halt. Somehow with  
> the 2 enabled together something is going wrong and I don’t even  
> know where to begin trouble shooting this without turning  
> SpamAssassin off. Can anyone point me in the right direction? I  
> don’t even know if this a MailSacnner or SpamAssassin issue.
>
> Thanks,
> Vernon
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by comp-wiz.com, and is
> believed to be clean.
>
> Any opinion expressed in this e-mail or any attached files are those  
> of the individual and not necessarily those of Herefordshire Council.
> You should be aware that Herefordshire Council monitors its email  
> service.
> This e-mail and any attached files are confidential and intended  
> solely for the use of the addressee. This communication may contain  
> material protected by law from being passed on. If you are not the  
> intended recipient and have received this e-mail in error, you are  
> advised that any use, dissemination, forwarding, printing or copying  
> of this e-mail is strictly prohibited. If you have received this e- 
> mail in error please contact the sender immediately and destroy all  
> copies of it.
> -- 
> This message has been scanned for viruses and
> dangerous content by comp-wiz.com, and is
> believed to be clean.
>
> -- 
> This message has been scanned for viruses and
> dangerous content by comp-wiz.com, and is
> believed to be clean.
>
> --
> Ing. Sergio Rabellino
>
> Università degli Studi di Torino
> Dipartimento di Informatica
> ICT Services Director
> Tel +39-0116706701  Fax +39-011751603
> C.so Svizzera , 185 - 10149 - Torino
>
> <image001.jpg>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
>
>
> -- 
> Alex Neuman van der Hans
> Reliant Technologies
> +507 6781-9505
> +507 202-1525
> alex at rtpty.com
> Skype: alexneuman
>
> -- 
> This message has been scanned for viruses and
> dangerous content by comp-wiz.com, and is
> believed to be clean.
>
> -- 
> This message has been scanned for viruses and
> dangerous content by comp-wiz.com, and is
> believed to be clean.
>
> Any opinion expressed in this e-mail or any attached files are those  
> of the individual and not necessarily those of Herefordshire Council.
> You should be aware that Herefordshire Council monitors its email  
> service.
> This e-mail and any attached files are confidential and intended  
> solely for the use of the addressee. This communication may contain  
> material protected by law from being passed on. If you are not the  
> intended recipient and have received this e-mail in error, you are  
> advised that any use, dissemination, forwarding, printing or copying  
> of this e-mail is strictly prohibited. If you have received this e- 
> mail in error please contact the sender immediately and destroy all  
> copies of it.
> -- 
> This message has been scanned for viruses and
> dangerous content by comp-wiz.com, and is
> believed to be clean.
>
> -- 
> This message has been scanned for viruses and
> dangerous content by comp-wiz.com, and is
> believed to be clean. --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list