Slow MailScanner
Doc Schneider
doc at maddoc.net
Tue Feb 13 19:15:51 CET 2007
Jay Chandler wrote:
[massive snip]
>> Nope, neither location (nor in /usr/local/etc/MailScanner/bayes, since
>> this is from the FreeBSD ports tree).
>>
>> So, getting desperate to clear the backlog, I ran sa-learn --clear on
>> the troubled box, and went to get myself a cup of coffee from the
>> break room.
>> On the plus side, I now have coffee. On the downside, it's still
>> taking upwards of 20 seconds per message.
>>
>> The nameserver config is the same. The hardware SHOULD be good--
>> these boxes are identical, and a month old.
>>
> Very interesting. A restart of the box, and the queue is gone, and load
> times are reasonable. I suspect there's something stealing all the RAM
> after a few days-- possibly MailScanner. I'll have to investigate this
> the next time it happens.
>
> Thanks to all who helped-- I'm still debating the merits of a caching
> nameserver.
>
> Also-- would there be any benefit to setting up bayes in a SQL
> environment to share between the two servers?
>
That is the way I do my MailScanner. Using MySQL for everything and also
running a DNS server on the boxen itself. So, yes, there are a lot of
benefits to going DNS and MySQL for MailScanner.
And a plus is you can share the MySQL between servers. 8*)
--
-Doc
Lincoln, NE.
http://www.genealogyforyou.com/
http://www.cairnproductions.com/
More information about the MailScanner
mailing list