From owner-freebsd-current@FreeBSD.ORG Thu Aug 12 12:46:33 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 6B04216A4CE; Thu, 12 Aug 2004 12:46:33 +0000 (GMT) Received: from mx1.imp.ch (mx1.imp.ch [157.161.9.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C834D43D3F; Thu, 12 Aug 2004 12:46:32 +0000 (GMT) (envelope-from mb@imp.ch) Received: from mx1.imp.ch (mx.imp.ch [157.161.9.64]) by mx1.imp.ch (8.12.11/8.12.11) with ESMTP id i7CCkRN4022014; Thu, 12 Aug 2004 14:46:27 +0200 (CEST) (envelope-from mb@imp.ch) Received: from mx1.imp.ch (localhost [127.0.0.1]) by mx1.imp.ch (8.12.11/8.12.11/Submit) with ESMTP id i7CCkOQq021953; Thu, 12 Aug 2004 14:46:25 +0200 (CEST) (envelope-from mb@imp.ch) Received: (from clamav@localhost) by mx1.imp.ch (8.12.11/8.12.11/Submit) id i7CCkOdA021942; Thu, 12 Aug 2004 14:46:24 +0200 (CEST) (envelope-from mb@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by ns1.imp.ch (MIMEDefang) with ESMTP id i7CCkJpq044084; Thu, 12 Aug 2004 14:46:24 +0200 (CEST) Date: Thu, 12 Aug 2004 14:46:19 +0200 (CEST) From: Martin Blapp To: Jeff Roberson In-Reply-To: <20040812143133.G31181@cvs.imp.ch> Message-ID: <20040812144448.F31181@cvs.imp.ch> References: <20040811200323.B31181@cvs.imp.ch> <20040812042621.O7322@mail.chesapeake.net> <20040812143133.G31181@cvs.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Resent: Yes X-Spam-Checksum: f32f0a1ae76e5060cb510e16a14bb40a X-Virus-Message-Status: No X-Virus-Status: No, scantime="0.0209 seconds" X-Spam-Status: No, hits=-5.637 required=5 scantime="2.1513 seconds" tests=BAYES_00,FORGED_RCVD_HELO,SMILEY, UPPERCASE_25_50 X-Scanned-By: MIMEDefang 2.44 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 12:46:33 -0000 > 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