Re: SCHEDULE and high load situations

From: Martin Blapp <mb_at_imp.ch>
Date: Thu, 12 Aug 2004 14:46:19 +0200 (CEST)
> 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
Received on Thu Aug 12 2004 - 10:46:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:05 UTC