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

From: Date: Wed, 14 May 2003 16:02:02 +0000
Subject: #20274 [Fbk->Csd]: 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-39640@lists.php.net to get a copy of this message
 ID:               20274
 Updated by:       sniper@php.net
 Reported By:      fowler at csufresno dot edu
-Status:           Feedback
+Status:           Closed
 Bug Type:         iPlanet related
 Operating System: Solaris (all)
 PHP Version:      4CVS-2002-11-06
 Assigned To:      sas
 New Comment:

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.




Previous Comments:
------------------------------------------------------------------------

[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 

------------------------------------------------------------------------

[2003-04-25 05:40:44] wez@php.net

For PHP 4.3.x, you must link using the SFIO stdio replacement from
AT&T.

PHP 5 does not have this dependency itself, although some third party
libraries that use stdio may get bitten by the limit of 256 files; in
which case you should also link against the SFIO library.

------------------------------------------------------------------------

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



Thread (48 messages)

« previous php.bugs (#39640) next »