#20274 [Csd->Opn]: failed to create stream: Too many open files in Unknown on line

From: Date: Fri, 16 May 2003 18:51:16 +0000
Subject: #20274 [Csd->Opn]: failed to create stream: Too many open files in Unknown on line
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39805@lists.php.net to get a copy of this message
ID: 20274 User updated by: fowler at csufresno dot edu Reported By: fowler at csufresno dot edu -Status: Closed +Status: Open Bug Type: iPlanet related Operating System: Solaris (all) PHP Version: 4CVS-2002-11-06 Assigned To: sas New Comment: Still see it in snap php4-200305141730. HTTP/1.1 200 OK Connection: close Date: Fri, 16 May 2003 07:35:01 GMT Server: Netscape-Enterprise/6.0 Content-Type: text/html Client-Date: Fri, 16 May 2003 07:35:02 GMT Client-Peer: 10.10.2.1:80 X-Powered-By: PHP/4.5.0-dev <br /> <b>Warning</b>: Unknown(/path/index.php): failed to create stream: Too many open files in <b>Unknown</b> on line <b>0</b><br /> <br /> <b>Warning</b>: (null)() [<a href='http://www.php.net/function.include'>function.include</a>]: Failed opening '/path/index.php' for inclusion (include_path='.:/usr/local/lib/php') in <b>Unknown</b> on line <b>0</b><br /> Previous Comments: ------------------------------------------------------------------------ [2003-05-14 11:02:01] sniper@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. ------------------------------------------------------------------------ [2003-05-09 09:14:44] daviddottiselius at sydsvenskannospam dot se Patch didn't work, got a new one at http://schumann.cx/patch-fd-lexer4 (thank's sas!) patched ok, compiled fine after installing flex, bison and m4 from sunfreeware but php_init fails at server startup (no error messages...) . I'll try with the latest cvs snapshot also and get back, hopefully with good news :) PHP-source: 4.3.1 OS: SunOS 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-5_10 ------------------------------------------------------------------------ [2003-05-09 07:24:37] sniper@php.net Did the patch help or not? ------------------------------------------------------------------------ [2003-05-02 09:56:19] sas@php.net There is a patch available for the current PHP 4.3 CVS: http://www.php.net/~sas/patch-lexer-no-stdio This patch makes PHP use POSIX IO which alleviates the Solaris stdio issue. Please let me know whether it works for you. ------------------------------------------------------------------------ [2003-04-25 09:27:25] jay@php.net For those having problems getting SFIO working on Solaris, this worked for me (Solaris 8 SPARC)... LIBS="-L/path/to/sfio/lib -lstdio-mt -lsfio-mt" ./configure.... SFIO is binary compatible with stdio, so you don't need to include any SFIO headers. Also, be sure to compile SFIO as a multithreaded library. J ------------------------------------------------------------------------ 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/20274 -- Edit this bug report at http://bugs.php.net/?id=20274&edit=1

« previous php.bugs (#39805) next »