Ben Beuchler writes:
> My target is an AMD K6-2 550MHz with 128MB of RAM using ReiserFS and > running Gentoo Linux. It does have a rather slow IDE drive. I installed > courier-0.36.0.20011123 using the defaults except for a custom --prefix. > I made the following mods to the couriertcpd config: I increased > MAXDAEMONS to 400, MAXPERC to 300, and MAXPERIP to 120. I added > -nodnslookup and -noidentlookup to TCPDOPTS and set > -stderrlogger=/dev/null. > Here are the results: > > Courier: 49 minutes > qmail: 32 minutes > Postfix: 23 minutes > > I would like to close the gap between Courier and Postfix a bit. Can > anyone recommend some tuning parameters I may not be considering? First thing: look at the received messages to verify that Courier did not, in fact, rewrite them. Having said that, Courier is more disk intensive than the others, so a slow IDE disk will definitely take a lot of heat. You should get more comparable results with high-end SCSI disks. Oh, I just remembered one thing: if you're delivering to the same mailbox, Courier will throttle itself to a default setting of a maximum of four simultaneous concurrent deliveries to the same local account, and a maximum of ten simultaneous local deliveries at the same time. This is to keep a mailbomb attack from fork-bombing the server. Of course it's not realistic to expect this to work in every case, but at least there's a fairly good chance to contain the damage. In theory, the mailbomb should spool itself up, and eventually when disk space starts running out, a different part of the code will start deferring incoming mail with '431 Mail system full'. So, I suspect that this throttling is why Courier is lagging in your test. It will accept the test messages as far as they come, but they get spooled up because they are throttled down to four simultaneous deliveries to the test recipient mailbox. The local mail delivery throttling can be adjusted by editing the $sysconfdir/module.local configuration file. Additional documentation is at http://www.courier-mta.org/modules.html When you're adjusting these settings up, make sure that you won't run into any OS-imposed limit on the maximum number of concurrent processes for the same uid. -- Sam _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
