*BSD News Article 94979


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!usc!sdd.hp.com!hamblin.math.byu.edu!usenet
From: Juan Lorenzana <juan@maindrag.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: cannot fork in perl
Date: Fri, 09 May 1997 16:28:45 -0600
Organization: Brigham Young University
Lines: 24
Message-ID: <3373A51D.562A@maindrag.com>
NNTP-Posting-Host: zigzag.math.byu.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (X11; I; HP-UX B.10.10 9000/712)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40675

Hello,
  I am fairly new to the freebsd community and need some help.  I am
running Apache on FreeBSD 2.1.5.  When some of my perl scripts run as
cgi's, I get a fork error.
Usually:

couldn't spawn child process
or
cannot fork

The server is started as root and runs as the user www.  When I start
the server I start it with the "unlimit" command.

csh -c "unlimit; /usr/local/etc/httpd/httpd"

Can anyone help me? Any suggestions would be appreciated. 



Regards,

Juan Lorenzana 
Technical Support
Email juan@maindrag.com