*BSD News Article 64146


Return to BSD News archive

#! rnews 1497 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.nla.gov.au!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!news.duke.edu!news.mathworks.com!uunet!in2.uu.net!news.usa.net!usenet
From: Brad Waite <brad@wcubed.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Netscape HTTPD problems
Date: Fri, 22 Mar 1996 21:48:43 -0700
Organization: W Cubed
Lines: 14
Message-ID: <315382AB.794BDF32@wcubed.net>
NNTP-Posting-Host: colorzoo.usa.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; FreeBSD 2.1.0-RELEASE i386)

Hi all.  We're running 6 Netscape HTTPD servers (via ifconfig alias) on
a P5-66 (165M o' RAM), FreeBSD 2.1.  If I set the Min or Max Processes
option too high (more than 4) in the httpd config, I get the following
error (in https/logs/errors):

catastrophe: can't fork new process (Resource temporarily unavailable

More recently, after adding another two servers, we have started getting
the same error while trying to execute cgi-bin programs.  We kicked the
min/max processes down further, and the problem hasn't cropped up since.
I've set kern.maxproc to 3000 and kern.maxprocperuid to 1000 (yes, to
extremes), but that hasn't seemed to make a difference.  I'm thinking it
might be something to do with sockets, but can't find any tunable parms.
Any ideas?