New MS install is slow to an extreme
dave.list at pixelhammer.com
Wed Apr 2 20:49:08 IST 2008
Julian Field wrote:
> Start by
> MailScanner --debug --debug-sa
> to see where the holdups are.
> Check you haven't got a screwed SpamAssassin cache as well.
I changed my virus scanner from clamavmodule to clamav and my batch time
went from 400/600 seconds to 60/140 seconds. As the system works through
the queue I can watch the times increase up to 200 seconds. Possibly
because they are large batches?
I am considering removing the clamav phishing and spam checks to see if
> DAve wrote:
>> Not certain what is wrong here. I did a fresh clean install of FreeBSD
>> 6.2, Julian's MS tarball and Julian's SA and Clam tarball. Everything
>> went well, everything runs. But, now I am seeing batches like this.
>> MailScanner: New Batch: Found 2907 messages waiting
>> MailScanner: New Batch: Scanning 30 messages, 306454 bytes
>> MailScanner: Batch completed at 790 bytes per second (398241 /
>> MailScanner: Batch (30 messages) processed in 503.55 seconds
>> Previously we had maybe 4 messages per batch and processed them in 2
>> to 6 seconds. The current time to scan is killing me.
>> SA plugins enabled, all others disabled = AutoLearnThreshold, Check,
>> Shortcircuit, Bayes, BodyEval, HTMLEval, HeaderEval, MIMEEval,
>> RelayEval, URIEval, WLBLEval, Rule2XSBody, ImageInfo, URIDNSBL.
>> All SA rules have been compiled.
>> Bayes is enabled.
>> I have "skip_rbl_checks 1"
>> shortcircuit ALL_TRUSTED on
>> shortcircuit BAYES_99 spam
>> shortcircuit BAYES_00 ham
>> In MS I have the following, I can send a complete conf if needed.
>> Max Children = 10
>> Queue Scan Interval = 5
>> Virus Scanners = clamavmodule
>> Delivery Method = batch
>> I don't zip attachments, I don't use MCP, I don't use Watermarks. I
>> think I have done everything I can for speed, but I am losing ground.
>> I am running a local caching name server on each MS server.
>> Not sure where to go from here.
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
More information about the MailScanner