Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 1999 09:38:39 -0400
From:      Mark Conway Wirt <mark@intrepid.net>
To:        FengYue <fengyue@bluerose.windmoon.nu>, freebsd-isp@FreeBSD.ORG
Subject:   Re: apache server can't spawn child processes
Message-ID:  <19991023093839.A26347@intrepid.net>
In-Reply-To: <Pine.BSF.4.10.9910221833450.3052-100000@bluerose.windmoon.nu>; from FengYue on Fri, Oct 22, 1999 at 06:36:54PM -0700
References:  <19991019202238.D36005D001@mail.wzrd.com> <Pine.BSF.4.10.9910221833450.3052-100000@bluerose.windmoon.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 22, 1999 at 06:36:54PM -0700, FengYue wrote:
> 
> > > children run as), and cgi programs can't spawn, getting this in the
> > > error log for this server:
> > > 
> > > 	(35)Resource temporarily unavailable:
> > > 		couldn't spawn child process:
> > > 		/content/somesite/public-html/something/cgi/step1.cgi
> 
> Take a look at your /etc/login.conf and look for 'daemon' class which is
> the class for services started from /etc/rc.*
> 
> change the maxproc=64 to maxproc=512 or some other larger number.

It's also possible that you're running out of open file descriptors,
either though a login.conf definition, or a kernel limit:

        http://www.apache.org/docs/misc/descriptors.html

I've seen the same errors (can't spawn) when the server is unable
to open files.

--Mark


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991023093839.A26347>