--On Tuesday, March 25, 2003 11:37:54 +0000 Wez Furlong <[EMAIL PROTECTED]> wrote:

Problem:

Solaris libc cannot fopen()/fdopen() more than 255 files.  Additionally,
it cannot handle file descriptors larger than 255.
Although streams now avoids FILE* as much as possible, ZE1 requires
FILE* in its flex scanners.

Symptom:

PHP SAPI implementations based on threads or that recycle processes
may fail to open php scripts.
If thread/process has already opened a number of files (such as log
files opened for the web server), or has served previous requests, PHP
can fail to open even the primary script file.


Opinions please; we need to have an official resolution before 4.3.2 is
released.  ("Solaris sucks, use <insert_name_of_not_so_broken_os_here>
instead")

There is an AT&T SFIO package that is a drop in replacement stdio package that fixes
this for solaris.


FWIW.


--Wez.

PS: Thanks to Uwe for doing the legwork/research on the cause of this
problem.


-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php




-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749




-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to