You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Mohammed Abu Sharikh <em...@brunel.ac.uk> on 1998/02/23 01:01:01 UTC
os-windows/1857: Too many open files: couldn't spawn child process (with PHP3)
>Number: 1857
>Category: os-windows
>Synopsis: Too many open files: couldn't spawn child process (with PHP3)
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Sun Feb 22 16:10:00 PST 1998
>Last-Modified:
>Originator: empgmma@brunel.ac.uk
>Organization:
apache
>Release: 1.3b3
>Environment:
Windows NT Server 4.0 (Service PACK 3) and Apache's win32 binary distribution
>Description:
I am having a problem with my PHP running under an Apache service on NT.
I ran the server and few hours later I noticed that I php.exe doesn't
work anymore. I get the message
"[Sun Feb 22 20:51:41 1998] [error] (24)Too many open files: couldn't spawn
child process: c:/inetpub/wwwroot/cgi-bin/php.exe" in the Apache's log.
I have a PHP3 type action in the apache config file whicn fires the CGI PHP.EXE
whenever a .php extension is encountered.
I contact the PHP mailing list and they think it's an Apache Problem.
>How-To-Repeat:
Run a PHP script every 10 seconds and you're bound to hit this problem!
>Fix:
I tried doing special prayers and that didn't seem to fix it! :%2
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]