From owner-freebsd-questions Wed Jul 29 09:36:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA29063 for freebsd-questions-outgoing; Wed, 29 Jul 1998 09:36:56 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from zoef.nedstat.nl (zoef.nedstat.nl [194.229.131.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA29010 for ; Wed, 29 Jul 1998 09:36:41 -0700 (PDT) (envelope-from A.vanStaalduijnen@nedstat.net) Received: from nedstat.net ([194.109.98.152]) by zoef.nedstat.nl (8.8.4/8.8.4) with ESMTP id SAA16512 for ; Wed, 29 Jul 1998 18:36:06 +0200 Message-ID: <35BF50BD.4C1823E6@nedstat.net> Date: Wed, 29 Jul 1998 18:41:33 +0200 From: Arjan van Staalduijnen Organization: Compass Interactive NedStat inc. X-Mailer: Mozilla 4.05 [en] (WinNT; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Couldn't spawn child process - Apache webserver problem on FreeBSD system. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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