[rt-users] Speed Issues?

Bruce Campbell bruce_campbell at ripe.net
Wed Aug 14 06:55:28 EDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 14 Aug 2002, Victor Barahona wrote:

> We have something similar on here. Our system is been using for 80 people and
> it's keeps with the loads Ok, except when the httpd process (maybe mod_perl)
> gots crazy.
>
> Normaly each httpd process use arround 19Mb, but sometimes some of them eat
> 64Mb each one, in that moment each of this crazy httpd use as much CPU as
> can. If there are too much crazy-process the machine goes up to 10 load and
> finaly die and must be reboot. This problem is killing us. :(

I find the following settings in Apache's httpd.conf useful to avoid the
run-away affect in Apache from completely killing your machine.

	MinSpareServers 5
	MaxSpareServers 10
	StartServers 5
	MaxClients 150

	# Each child process will die after this many requests,
	# incidentally freeing up the memory that it has used.  Apache
	# leaks like a sieve sometimes.
	MaxRequestsPerChild 30

Regards,

- -- 
                             Bruce Campbell                            RIPE
                   Systems/Network Engineer                             NCC
                 www.ripe.net - PGP562C8B1B             Operations/Security
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9Wjcj5GBMOVYsixsRAt42AJwNnX6UG+y3h9/Cwz0TrdDaCU5f/QCePFEu
9yXEz2C8xAX0awEQTQQOaqg=
=vPh1
-----END PGP SIGNATURE-----





More information about the rt-users mailing list