Date: Wed, 23 Jul 2003 17:26:39 -0500 From: Kirk Strauser <kirk@strauser.com> To: freebsd-questions@freebsd.org Subject: Re: Huge load average on mail server Message-ID: <87brvkyj4w.fsf@pooh.honeypot.net> In-Reply-To: <20030723213746.GT63060@mind.net> (John Fox's message of "Wed, 23 Jul 2003 14:37:46 -0700") References: <20030723213746.GT63060@mind.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Transfer-Encoding: quoted-printable
At 2003-07-23T21:37:46Z, John Fox <jjf@mind.net> 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-----
--=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87brvkyj4w.fsf>
