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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Sun Nov 24 21:01:35 2024 UTC