SCHEDULE and high load situations

Martin Blapp mb at imp.ch
Thu Aug 12 05:46:33 PDT 2004


> I used this small script here to load it. I've prepared a shell script which
> calls this 200 times. The mails are then rotating from sendmail to milter in
> a 26 times loop which takes almost forever ;-).

If you use sendmail, be sure you have these set up in the .mc configuration:

define(`confREFUSE_LA', `800')
define(`confQUEUE_LA', `600')
define(`confDELAY_LA',`500')
define(`confMAX_DAEMON_CHILDREN', `1000')
define(`confMAX_QUEUE_CHILDREN', `500')
define(`confBAD_RCPT_THROTTLE',`500')dnl
define(`confMAX_CONNECTION_RATE', `600')
define(`confBAD_RCPT_THROTTLE_TIME', `1000')
define(`confMAX_CLIENT_CONNECTION_RATE', `1000')
define(`confCONNECTION_RATE_WINDOW_SIZE', `600')

Else sendmail will refuse connections.

If you need an exact setup, I can prepare something for you (package)
which you can just install and then do the tests.

Martin


More information about the freebsd-current mailing list