Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 1999 21:57:02 +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:  <19991119215702.C3558@strontium.scientia.demon.co.uk>
In-Reply-To: <19991119215357.B3558@strontium.scientia.demon.co.uk>
References:  <3835C199.ECBA024B@cctinc.net> <19991119215357.B3558@strontium.scientia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Ben Smithurst wrote:

> 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

arggh. Some of that might only apply to 3.X, I don't know as much about
2.2.x (I didn't notice that's what you were using the first time). On
earlier systems I think there was a CHILD_MAX kernel config option which
controls the maximum number of processes. You might like to check LINT
and GENERIC under /sys/i386/conf to see if they have anything so say.

-- 
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?19991119215702.C3558>