*BSD News Article 75635


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!alpha.sky.net!news.sprintlink.net!news-chi-13.sprintlink.net!news.dca.net!dca.net!awhite
From: Andrew White <awhite@dca.net>
Newsgroups: comp.infosystems.www.misc,comp.unix.bsd.bsdi.misc
Subject: Apache/BSDI CGI spawning problem
Date: Wed, 7 Aug 1996 11:27:37 -0400
Organization: DCANet - Delaware Common Access Network
Lines: 35
Message-ID: <Pine.BSI.3.91.960807111241.1623D@dca.net>
NNTP-Posting-Host: global.dca.net
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: apache-users@apache.org
Xref: euryale.cc.adfa.oz.au comp.infosystems.www.misc:42472 comp.unix.bsd.bsdi.misc:4516


Hello fellow Apache users.

I'm running an Apache 1.1.1 web server under BSDI 2.1, and have recently 
started seeing a problem.  The problem is that, after the htttpd process 
has been running for some length of time, accesses to ALL cgi scripts (on 
all virtual hosts) quit working.  The message that shows up in the error 
log looks like:

[Wed Aug  7 11:11:00 1996] access to /local/etc/httpd/cgi-bin/nph-count\ 
 failed for faith.dca.net, reason: couldn't spawn child process

Sending a SIGHUP to the httpd process ID fixes the problem for a short 
while.  To attempt to address this problem, I bumped up the 
MinSpareServers and MaxSpareServers in my Apache config files, and 
recompiled my BSDI kernel and increased the value of MAXUSERS to 128.
I also have tried starting the server with:

csh -c "unlimit -h; /local/etc/httpd/httpd &"

To attempt to remove any shell-based restrictions.  Unfortunately, none 
of these attempted solutions have fixed the problem.

If any other administrator knows what the problem is/might be, I'd 
appreciate hearing from you.  If you post a follow-up to a newsgroup, 
please favor me with an e-mail copy of your follow-up.

-Andrew White
 webmaster@www.dca.net

Andrew White             | DCANet: Internet Access for the Delaware Valley
andrew@dca.net           | Offering dialup, ISDN, and dedicated Internet access
(302) 654-1019           | in the 215/302/610 area codes.  
http://andrew.white.org/ | e-mail: info@dca.net  web: http://www.dca.net/