*BSD News Article 80877


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!howland.erols.net!news.mathworks.com!uunet!in3.uu.net!news.kjsl.com!daver!news.digicity.net!usenet
From: Damien Thorn <damien@digicity.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Apache Server Error:  Cannot Spawn Child Process
Date: Wed, 16 Oct 1996 12:35:38 -0700
Organization: Digital City Communications, Inc.
Lines: 32
Message-ID: <3265390A.2B50@digicity.net>
References: <3263CEEF.1F78@digicity.net> <3263E1BC.7CD6@www.play-hookey.com>
NNTP-Posting-Host: sidewinder.digicity.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01 (Win16; I)

Ken Bigelow wrote:

> A couple of possibilities here, based on my own experiences with 2.1R
> and Apache.
> 
> First, make sure that all CGI scripts are world readable as well as
> executable (chmod 755). That one had me going for awhile, but it's
> essential.
> 
> Second, with the user load you seem to have, did you increase the
> MAXUSERS line in the kernel configuration file and recompile? The
> default for this parameter is 10; you'll probably want to up it to
> around 50. It doesn't actually set the number of users allowed, but it
> is used to calculate the max number of live processes, so if you run
> out, you can't run another program.

Yep, the problem is based on the MAXUSER and MAXCHILD default values
in the generic kernel.  We tested the hypothesis by limited the MAX CLIENT
value in httpd.conf and were then able to spawn processes to handle CGI.

So, I want to upgrade from 2.1R to 2.1.5 (since I already have it on a 
development machine) and then build a new kernel.

Unfortunately, I'm now having trouble upgrading.  When I insert the
boot floppy (for 2.1.5), the machine simply hangs part-way through with a blank
screen and a cursor.  I've tried sysinstall from the installed 2.1R, but have
a similar problem.  When I switch to the second virtual terminal (alt F2), I
see the ANSI screen, but cannot navigate through it...hmmm.

Tips on the best way to upgrade from 2.1Rto 2.1.5 ?

Damien