From owner-freebsd-questions@FreeBSD.ORG Tue Jun 7 17:13:30 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 99C7416A41C for ; Tue, 7 Jun 2005 17:13:30 +0000 (GMT) (envelope-from nkinkade@fastmail.fm) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A24443D4C for ; Tue, 7 Jun 2005 17:13:26 +0000 (GMT) (envelope-from nkinkade@fastmail.fm) Received: from frontend3.messagingengine.com (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id A0C46C9CAF4; Tue, 7 Jun 2005 13:13:25 -0400 (EDT) X-Sasl-enc: MC7WfmgbisLfQVaGF8uJMrM1WJiYnjA5K5YiXJABRNG0 1118164405 Received: from gentoo-npk.bmp.ub (unknown [206.27.244.136]) by www.fastmail.fm (Postfix) with ESMTP id 51B4492; Tue, 7 Jun 2005 13:13:25 -0400 (EDT) Received: from nkinkade by gentoo-npk.bmp.ub with local (Exim 4.21) id 1Dfhdj-00024r-SM; Tue, 07 Jun 2005 11:13:23 -0600 Date: Tue, 7 Jun 2005 11:13:23 -0600 From: Nathan Kinkade To: kalin mintchev Message-ID: <20050607171323.GN21690@gentoo-npk.bmp.ub> Mail-Followup-To: kalin mintchev , freebsd-questions@freebsd.org References: <62198.24.90.33.115.1118163726.squirrel@24.90.33.115> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s8J8qjRpxLkp1Gun" Content-Disposition: inline In-Reply-To: <62198.24.90.33.115.1118163726.squirrel@24.90.33.115> X-PGP-Fingerprint: 3FDF A406 B149 3959 A8CB C5A9 3B46 4812 D852 7E49 User-Agent: Mutt/1.5.6i Sender: Cc: freebsd-questions@freebsd.org Subject: Re: weird httpd processes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2005 17:13:30 -0000 --s8J8qjRpxLkp1Gun Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 07, 2005 at 01:02:06PM -0400, kalin mintchev wrote: >=20 > hi all... >=20 > for the last 4 - 5 days i noticed something weird on one of the freebsd > boxes here. one httpd process -or sometimes 2 or 3 - take up all the cpu. > and it looks like this: >=20 > # top > CPU states: 33.1% user, 0.0% nice, 66.5% system, 0.4% interrupt, 0.0% = idle > Mem: 476M Active, 295M Inact, 162M Wired, 61M Cache, 112M Buf, 7556K Free > Swap: 2032M Total, 4K Used, 2032M Free >=20 > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COM= MAND > 85655 nobody 64 0 20632K 14880K RUN 126:03 97.07% 97.07% htt= pd > 85654 nobody 2 0 19532K 13616K sbwait 0:16 0.24% 0.24% htt= pd > 6081 root 28 0 2016K 1196K RUN 0:00 0.22% 0.10% top Does your httpd installation serve up any scripted content i.e. using perl, PHP, etc. I have seen apache spin out of control due to poorly, or incorrectly written scripts. Nathan --s8J8qjRpxLkp1Gun Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCpdWzO0ZIEthSfkkRAjyYAJ9SiuVmbwPof+Ae4WCAwhUJWkuFgwCfekJa ovn2HClj5vxiTioMx7oZEVs= =ehOm -----END PGP SIGNATURE----- --s8J8qjRpxLkp1Gun--