Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 2004 14:46:19 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        Robert Watson <rwatson@freebsd.org>
Subject:   Re: SCHEDULE and high load situations
Message-ID:  <20040812144448.F31181@cvs.imp.ch>
In-Reply-To: <20040812143133.G31181@cvs.imp.ch>
References:  <Pine.NEB.3.96L.1040811122806.17560G-100000@fledge.watson.org> <20040811200323.B31181@cvs.imp.ch> <20040812042621.O7322@mail.chesapeake.net> <20040812143133.G31181@cvs.imp.ch>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040812144448.F31181>