From owner-freebsd-current@FreeBSD.ORG Thu Aug 12 13:32:37 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B8BF16A4CE; Thu, 12 Aug 2004 13:32:37 +0000 (GMT) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FBF743D54; Thu, 12 Aug 2004 13:32:37 +0000 (GMT) (envelope-from jroberson@chesapeake.net) Received: from mail.chesapeake.net (localhost [127.0.0.1]) by mail.chesapeake.net (8.12.10/8.12.10) with ESMTP id i7CDWZLu039839; Thu, 12 Aug 2004 09:32:35 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost)i7CDWZpp039830; Thu, 12 Aug 2004 09:32:35 -0400 (EDT) (envelope-from jroberson@chesapeake.net) X-Authentication-Warning: mail.chesapeake.net: jroberson owned process doing -bs Date: Thu, 12 Aug 2004 09:32:34 -0400 (EDT) From: Jeff Roberson To: Martin Blapp In-Reply-To: <20040812144448.F31181@cvs.imp.ch> Message-ID: <20040812093020.G7322@mail.chesapeake.net> References: <20040811200323.B31181@cvs.imp.ch> <20040812042621.O7322@mail.chesapeake.net> <20040812143133.G31181@cvs.imp.ch> <20040812144448.F31181@cvs.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Mailman-Approved-At: Thu, 12 Aug 2004 18:48:35 +0000 cc: freebsd-current@freebsd.org cc: Robert Watson Subject: Re: SCHEDULE and high load situations X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2004 13:32:37 -0000 On Thu, 12 Aug 2004, Martin Blapp wrote: > > > 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. If you wouldn't mind, I believe this would be an invaluable tool for myself and others doing performance tuning/testing. Especially if it's as easy as adding a package. I'll be away for 4 days for a wedding. Can you email me any results from tests with an updated ule along with a package or a tar of any scripts/setup you have? Then I'll be able to hack away at this when I get back. Thanks, Jeff > > Martin >