#22416 [Dup->Bgs]: failed to create stream: Too many open files in Unknown on line 0
| From: | sniper@php.net | Date: | Wed, 09 Apr 2003 21:51:52 +0000 |
| Subject: | #22416 [Dup->Bgs]: failed to create stream: Too many open files in Unknown on line 0 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37487@lists.php.net to get a copy of this message | ||
ID: 22416
Updated by: sniper@php.net
Reported By: jhalla at legion dot org
-Status: Duplicate
+Status: Bogus
Bug Type: iPlanet related
Operating System: Solaris 8
PHP Version: 4.3.0
Assigned To: wez
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.
Thank you for your interest in PHP.
,
Previous Comments:
------------------------------------------------------------------------
[2003-04-09 15:11:36] jhalla at legion dot org
<i>"No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you."</i>
Sniper, the bug isn't resolved... PHP 4.3x still does not run on
iPlanet/Solaris.
------------------------------------------------------------------------
[2003-04-09 15:09:58] fillmore at nrcan dot gcc dot a
We have been having these problems also.
I just installed php-4.3.2RC1.tar.gz to see if it helps,
and the site started failing again within a half hour.
I doubt that it's an open file limit in libc,
because the site had only 14 hits on .php URLs
before it started failing. Also, only two scripts were called, and
they don't open any files. Here's the code
in the most complicated of the two scripts:
<?
$x = 0;
while (list($key, $val) = each($ORFiles))
{
$x++;
echo '<font face="Arial, Helvetica, sans-serif">
<A HREF="../../html/tables/pdf/options/'.substr($val, 0, strpos($val,
"*")).'">'
.substr($val,strrpos($val,"*")+1).'</A></font> <img
SRC="../../gif/pdf.gif"
WIDTH="17" HEIGHT="17" ALT="pdf"><BR>';
}
?>
- Bob Fillmore
------------------------------------------------------------------------
[2003-03-13 14:59:22] wez@php.net
The issue is that the (brain-dead) solaris libc has a hard limit of 256
FILE*s.
It is not possible to fopen() more files than that (although open()
works just fine).
Duplicate of Bug #20274.
------------------------------------------------------------------------
[2003-03-13 12:44:39] fowler at csufresno dot edu
Still seeing it with php4-STABLE-200303121630.
------------------------------------------------------------------------
[2003-03-13 12:16:09] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22416
--
Edit this bug report at http://bugs.php.net/?id=22416&edit=1