Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 1998 18:41:33 +0200
From:      Arjan van Staalduijnen <A.vanStaalduijnen@nedstat.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Couldn't spawn child process - Apache webserver problem on FreeBSD system.
Message-ID:  <35BF50BD.4C1823E6@nedstat.net>

next in thread | raw e-mail | index | archive | help
I'm using a system running Apache 1.3.0 and FreeBSD 2.2.6. The webserver
of
this system is reporting internal server errors from time to time, and
when
it is it is reporting loads of them. The server errorlogs show the error
'Resource temporarily unavailable: couldn't spawn child process' for the
Perl-script it is trying to execute.

The amount of free memory does not seem to be the problem. I think the
problem might be caused by insufficient child processes allowed.
CHILD_MAX
and OPEN_MAX are both set to 512 at this moment. Since I still have too
limited knowledge of FreeBSD I'm not sure if it's possible to increase
the
number to a bigger number and if doing this would be safe. To give you
an
idea, I've been running the same thing on a Linux box... there the
amount of
filehandles had to be set to 8192 and the number of inodes had to be set
to
32768 to have the server do it's thingy.

Hope anyone can help.


Arjan

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35BF50BD.4C1823E6>