From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 15:26:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 460AD37B404 for ; Wed, 23 Jul 2003 15:26:45 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABD0143FAF for ; Wed, 23 Jul 2003 15:26:44 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net.strauser.com (kirk@pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.9/8.12.9) with ESMTP id h6NMQgFl074560 for ; Wed, 23 Jul 2003 17:26:43 -0500 (CDT) (envelope-from kirk@strauser.com) To: freebsd-questions@freebsd.org References: <20030723213746.GT63060@mind.net> From: Kirk Strauser Date: Wed, 23 Jul 2003 17:26:39 -0500 In-Reply-To: <20030723213746.GT63060@mind.net> (John Fox's message of "Wed, 23 Jul 2003 14:37:46 -0700") Message-ID: <87brvkyj4w.fsf@pooh.honeypot.net> Lines: 22 X-Mailer: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: Huge load average on mail server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 22:26:46 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable At 2003-07-23T21:37:46Z, John Fox writes: > What procedures would folks recommend for me to follow in order to try and > determine the problem? Step one: run `top' and see what process(es) are using the most CPU. It may be something not directly related to Sendmail. For example, one of my associates wrote his own bulk mail delivery program to inject a huge number of messages into the outgoing mail (he works with an ecommerce site with a large opt-in newsletter list). A minor error in his code: if (numberOfRunningProcesses !=3D 10) { fork(); } instead of: if (numberOfRunningProcesses <=3D 10) { fork(); } caused his program to occasionally flip out and large several hundred running copies of itself (hi, Aaron!). =2D-=20 Kirk Strauser --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/Hwui5sRg+Y0CpvERAvp8AJ9ttucK7QfftUqq3LuO+dXRppCzwgCgiVtX 2c9gSjWzfbnuusznhCVOwnw= =1TXv -----END PGP SIGNATURE----- --=-=-=--