Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2005 13:54:07 -0600
From:      Nathan Kinkade <nkinkade@ub.edu.bz>
To:        kalin mintchev <kalin@el.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: weird httpd processes
Message-ID:  <20050607195407.GR21690@gentoo-npk.bmp.ub>
In-Reply-To: <59560.24.90.33.115.1118166726.squirrel@24.90.33.115>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050607195407.GR21690>