[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apache && OpenBSD && "(35)Resource temporarily unavailable"
- To: misc@openbsd.org
- Subject: Re: Apache && OpenBSD && "(35)Resource temporarily unavailable"
- From: Henning Brauer <lists-openbsd@bsws.de>
- Date: Wed, 20 Jun 2001 11:50:55 +0200
- Content-Disposition: inline
- Mail-Followup-To: misc@openbsd.org
- References: <20010620094347.15114.qmail@bsw005.bsws.de>
On Wed, Jun 20, 2001 at 11:11:49AM +0200, Alex de Joode wrote:
> I ran apache on an OpenBSD 2.6 with no problems for the
> last couple of years, however last weekend the machine
> frooze so i had to reset it, and now server side includes
> do not work any more.
> The apache log file gives:
> [Wed Jun 20 10:54:52 2001] [error] [client 192.168.0.1] (35)Resource
> temporarily unavailable: couldn't spawn include command
> [Wed Jun 20 10:54:52 2001] [error] [client 192.168.0.1] execution
> failure for parameter "cmd" to tag exec in file
> /var/web/httpd/
> I increased sysctl kern.maxproc from the default 1044 to 3000,
> but to no avail.
> Anyone knows what's wrong ?
Typically, the limit of children per process or limit of files per process
is reached. If your server is somehow loaded, the defaults used in OpenBSD
are to small. Edit
/usr/src/sys/sys/syslimits.h
and upper
OPEN_MAX
CHILD_MAX
Recompile then.
--
* Henning Brauer, hostmaster@bsws.de, http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)