|  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
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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
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.




Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-31 05:26 UTC]
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
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the 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-2022 The PHP Group
All rights reserved.
Last updated: Sat Dec 03 15:05:54 2022 UTC