sendmail configuration for mailscanner
Vasantha Narayanan
vnarayan at HAVERFORD.EDU
Mon May 10 20:07:11 IST 2004
Hi,
Initially when we started using MailScanner, we ran sendmail as,
"/usr/lib/sendmail -q5m -oQ/mail/hosts/acc/smtp_out" to process the
outgoing queue directory. But this was not speedy enough for us. It took
very long for mail to get delivered. So we changed it to:
"/usr/lib/sendmail -OForkEachJob=True -OMaxDaemonChildren=20
-oQ/mail/hosts/acc/smtp_out -q1m"
This configuration for processing the outgoing queue is very effective in
clearing the queue.
However, occasionally when our SMTP usage increases by 3 or 4 folds (over
150,000 SMTP transactions per day), the ForkEachJob configuration for
processing the sendmail outgoing queue, overwhelms our 4 processor CPU
(large box) and it runs out of processes.
So, here are my questions:
1. It is not clear to us as to what initiates the sendmail delivery
process in the outgoing queue. Once the mail has been scanned and put in
the outgoing queue, what signals sendmail to deliver the mail - is it the
MailScanner?
2. For a beefy multi-processor box with a lot of power, is there a
recommended way to spread the load among the processors without running the
risk of "resource starvation".
Thanks.
Vasantha
-------------------------- MailScanner list ----------------------
To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/ and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20040510/37def22b/attachment.html
More information about the MailScanner
mailing list