php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20274 failed to create stream: Too many open files in Unknown on line
Submitted: 2002-11-06 00:16 UTC Modified: 2003-05-31 05:26 UTC
Votes:23
Avg. Score:5.0 ± 0.2
Reproduced:22 of 22 (100.0%)
Same Version:16 (72.7%)
Same OS:19 (86.4%)
From: fowler at csufresno dot edu Assigned: sas (profile)
Status: Closed Package: iPlanet related
PHP Version: 4CVS-2002-11-06 OS: Solaris (all)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: fowler at csufresno dot edu
New email:
PHP Version: OS:

 

 [2002-11-06 00:16 UTC] fowler at csufresno dot edu
We are running php4-200211030600 with Sun One Web Server 6.0sp4 on Solaris 8. It was compiled with gcc 2.95.3 using './configure' \
'--with-nsapi=/path/to/iplanet/web/server' \

It compiled successfully and runs fine for a few hours but accessing pages soon reports the following:
==========
Warning: Unknown(/path/to/doc-root/index.php): failed to create stream: Too many open files in Unknown on line 0

Warning: Failed opening '/path/to/doc-root/index.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
==========
A quick fix is to setup a cron job to restart the web server hourly, but this is not desired.

Please let me know if I can provide additional details regarding this issue.

Thanks,


Jay

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-31 05:26 UTC] thetaphi@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

Patch is again in newest stable CVS. Please test it as much as you can.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 08:01:28 2024 UTC