Date: Fri, 19 Nov 1999 21:53:57 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Mike Alich <hostmaster@cctinc.net> Cc: questions@freebsd.org Subject: Re: Child Processes Message-ID: <19991119215357.B3558@strontium.scientia.demon.co.uk> In-Reply-To: <3835C199.ECBA024B@cctinc.net> References: <3835C199.ECBA024B@cctinc.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Alich wrote: > I have a web server running and it is under thousands of requests per > day, about 500,000 for just one site. The problem I am having is cgi's > can not run because the web server is telling me it can't spawn child > process because resources are temporarily unavailable. > > What can I do to stop this problem? Is there a setting in the kernel or > where can I go. I have been trying to tweak Apache but no luck there... What does `sysctl -a | grep maxproc' show? You *might* be able to increase the values on the fly using sysctl -w kern.maxproc=n and sysctl -w kern.maxprocperuid=n for some value of n, but I never remember if those sysctls are changable. If not, you can increase the maxusers option in your kernel configuration which will increase maxproc and a few other things. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991119215357.B3558>