Slow Batch Processing...

TCIS List Acct listacct at tulsaconnect.com
Tue Feb 21 00:31:02 GMT 2006



Julian Field wrote:

> In which case it has to be the new faster (mostly) message unpacking code.
> If you look in /usr/lib/MailScanner/MailScanner/Message.pm, you will 
> find about line 1434 a line that looks like this:
> if (MailScanner::Config::Value('mta') =~ /sendmail|exim|postfix/i) {
> 
> Whichever MTA you are using, remove it from the above expression along 
> with its '|' separator. So if you are using sendmail, the line should 
> change to this:
> if (MailScanner::Config::Value('mta') =~ /exim|postfix/i) {
> If using Exim, change it to this:
> if (MailScanner::Config::Value('mta') =~ /sendmail|postfix/i) {
> If using Postfix, change it to this:
> if (MailScanner::Config::Value('mta') =~ /sendmail|exim/i) {
> 
> Then restart MailScanner and let me know if this solves the speed problem.

Apparently it is not that code either -- I did as you asked and changed the line 
in Message.pm with no change in the behavior.  The SA cache was disabled during 
the test as well -- after about an hour/hour and a half, the machine starts to 
run out of memory, starts to swap, and then spirals downhill from there. 
Switching the symlink for /opt/MailScanner back to 4.47.4 or 4.48.4 solves the 
problem.  Also note that I see this same behavior in 4.49.7.

-- 

-----------------------------------------
Mike Bacher / listacct at tulsaconnect.com
TCIS - TulsaConnect Internet Services
http://www.tulsaconnect.com
-----------------------------------------


More information about the MailScanner mailing list