Re: Core Dudes: Critical #20274 needs your input
| From: | Larry Rosenman | Date: | Tue, 25 Mar 2003 11:39:53 +0000 |
| Subject: | Re: Core Dudes: Critical #20274 needs your input | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-256@lists.php.net to get a copy of this message | ||
--On Tuesday, March 25, 2003 11:37:54 +0000 Wez Furlong <wez@thebrainroom.com> 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 fixesthis 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: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749