Raymond Dijkxhoorn raymond at PROLOCATION.NET
Mon Jul 28 16:35:43 IST 2003


> yep. Same here. I was able to gain the cost back by making some
> performance adjustments.
> 1. Turn off fsync() on maillog in /etc/syslog.conf (on linux)
> ie:
> mail.*  -/var/log/maillog
> 2. Mount /var/spool/MailScanner/incoming as tmpfs

I allready did that before :)

> 3. Because of #2 above, you can decrease the number of MailScanner
> threads AND the frequency of batch runs. This pushes more mail into the
> MailScanner/incoming directory so batches are larger. Since the incoming
> directory is in memory now, mailscanner unpacks and scans message
> batches faster. The price is a few seconds delay for messages traveling
> through the system, but overall I/O is lower.

Thats why my number of MS processes was higher then usual.
> 4. Sendmail's MaxRecipients = x is also a major factor, since each
> message is cloned x times. I believe the default is 100 or 128... That's
> probably too high if you are splitting all incoming mail into 1 recip
> per message!

Put that on 50 allready. I also played with the load settings, the LA
settings in the .cf one.


More information about the MailScanner mailing list