From owner-freebsd-questions@FreeBSD.ORG Tue Jun 7 19:54:17 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 3A7B116A41C for ; Tue, 7 Jun 2005 19:54:17 +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 C398143D4C for ; Tue, 7 Jun 2005 19:54:15 +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 F2945C9D2A8; Tue, 7 Jun 2005 15:54:12 -0400 (EDT) X-Sasl-enc: 0BufJJHPNNiwt/xh0oi7JYnEKAPqDGp/ZS3ohiUQIlo6 1118174053 Received: from gentoo-npk.bmp.ub (unknown [206.27.244.136]) by www.fastmail.fm (Postfix) with ESMTP id 8BD4584; Tue, 7 Jun 2005 15:54:12 -0400 (EDT) Received: from nkinkade by gentoo-npk.bmp.ub with local (Exim 4.21) id 1Dfk9H-00029F-Lt; Tue, 07 Jun 2005 13:54:07 -0600 Date: Tue, 7 Jun 2005 13:54:07 -0600 From: Nathan Kinkade To: kalin mintchev Message-ID: <20050607195407.GR21690@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> <20050607171323.GN21690@gentoo-npk.bmp.ub> <59560.24.90.33.115.1118166726.squirrel@24.90.33.115> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MRBOAUz+O/XNC2GI" Content-Disposition: inline In-Reply-To: <59560.24.90.33.115.1118166726.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 19:54:17 -0000 --MRBOAUz+O/XNC2GI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 07, 2005 at 01:52:06PM -0400, kalin mintchev wrote: >=20 > > 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. >=20 > ok. yes. the machine has been running fine for months. how would i know > which is the offending script?!? it serves a lot of websites that use > different scripts - perl,php,etc... Well, in addition to the advice of another poster about adding times to the httpd access log, you should also be setting some limits on how scripts run on the system, especially if it's a shared hosting server to which various users upload scripts of their own making. I'm not sure about perl, but for PHP there are several parameters in the php.ini file that limit various aspects of how PHP executes. Specifically check the section titled ``Resource Limits''. Good luck, Nathan --MRBOAUz+O/XNC2GI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCpftfO0ZIEthSfkkRAgrLAKC5R9UgIOCv0E8RLSAECyzZylcSbQCfSb8j HTzBYvxpgeh0D/F5oOonhYs= =ZGMR -----END PGP SIGNATURE----- --MRBOAUz+O/XNC2GI--