#22416 [Fbk->Opn]: failed to create stream: Too many open files in Unknown on line 0
ID: 22416 User updated by: jhalla at legion dot org Reported By: jhalla at legion dot org -Status: Feedback +Status: Open Bug Type: iPlanet related Operating System: Solaris 8 PHP Version: 4.3.0 New Comment: We have not tested PHP 4.3.1 on Solaris with Apache; only iPlanet/Sun ONE. Perhaps this issue is not 'iPlanet related' but 'Solaris related' ? Previous Comments: [2003-03-04 20:34:06] [EMAIL PROTECTED] I am seeing this problem as well, but with Apache. OS: Solaris 8 SAPI: Apache 1.3.27 PHP: 4.3.1 (module) './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-versioning' '--with-mysql=/usr/local/mysql' '--with-oci8=/usr/local/oracle/product/8.0.6' '--enable-track-vars' '--enable-safe-mode' '--with-zlib=/usr/local' '--with-ldap=/usr/local' '--with-png-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-gd=/usr/local' '--with-ccvs=/usr/local/ccvs' '--with-mcal=/usr/local/mcal' '--enable-dbase' '--with-freetype-dir=/usr/local' '--with-mcrypt=/usr/local' '--enable-gd-native-ttf' '--with-openssl' [2003-02-27 10:56:59] webmaster at telearmenia dot net dot co Download and install the CVS recommended by you but the mistake repeats Warning: Unknown(/path/to/doc-root/index.php): failed to open stream: Too many open files in Unknown on line 0 Warning: (null)() [function.include]: Failed opening '/path/to/doc-root/index.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 Some suggestion [2003-02-26 15:35:54] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Could you please clarify on whether or not you've found this bug in LATEST stable CVS avaliable for download from the URLs above? [2003-02-26 13:29:24] webmaster at telearmenia dot net dot co We are running php4.3.0 with Sun One Web Server 6.0sp5 on Solaris 8. It was compiled with gcc 2.95.3 using './configure' '--with-nsapi=/path/to/iplanet/web/server' It compiled successfully and runs fine for a few hours or minutes but accessing pages soon reports the following: == Warning: Unknown(/path/to/doc-root/index.php): failed to create stream: Too many open files in Unknown on line 0 Warning: Failed opening '/path/to/doc-root/index.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 == We increased our kernel file descriptor limit, but shows the same mistake. A quick fix is to setup a cron job to restart the web server hourly,but this is not desired. Please if you can provide information with since this problem solves Thanks [2003-02-26 13:21:20] jhalla at legion dot org We have found that there is no resolution to this issue of PHPv4.3 running on Solaris 8 or 9, with Sun One Web Server (formerly iPlanet; we have tried w/ both SP4 and SP5). The issue _seems_ like a memory leak, but that is just our assessment based on observation under a limited number of server environments. Our only course of action to resolve this issue at this time has been to downgrade to PHP v4.2.2, which is the last known version of PHP to both install correctly (we had issues installing v4.2.3) as well as to have no problems running. With any luck, a patched version of PHP v4.3 will be released that resolves this issue for Solaris/SunOne users. Thank you. - Jason Halla [EMAIL PROTECTED] 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
#22416 [Fbk->Opn]: failed to create stream: Too many open files in Unknown on line 0
ID: 22416 User updated by: jhalla at legion dot org Reported By: jhalla at legion dot org -Status: Feedback +Status: Open Bug Type: iPlanet related Operating System: Solaris 8 PHP Version: 4.3.0 New Comment: We have found that there is no resolution to this issue of PHPv4.3 running on Solaris 8 or 9, with Sun One Web Server (formerly iPlanet; we have tried w/ both SP4 and SP5). The issue _seems_ like a memory leak, but that is just our assessment based on observation under a limited number of server environments. Our only course of action to resolve this issue at this time has been to downgrade to PHP v4.2.2, which is the last known version of PHP to both install correctly (we had issues installing v4.2.3) as well as to have no problems running. With any luck, a patched version of PHP v4.3 will be released that resolves this issue for Solaris/SunOne users. Thank you. - Jason Halla [EMAIL PROTECTED] Previous Comments: [2003-02-25 10:01:49] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip [2003-02-25 09:15:03] jhalla at legion dot org Running: Solaris 8, iPlanet 6sp4 enterprise, PHP 4.3 All PHP pages get this error: Warning: Unknown(/web_sites/doc_root/public_html/index.php): failed to create stream: Too many open files in Unknown on line 0 Warning: Unknown(): Failed opening '/web_sites/doc_root/public_html/index.php' for inclusion (include_path='.:/php/includes:/web_sites/doc_root:/home/web_sites/doc_root/public_html') in Unknown on line 0 Files which are basically just all HTML w/ no PHP code in them whatsoever, but w/ the .php extension, will also produce the above error. PHP 4.2.3 appears to be the only workable release for iPlanet 6 on Solaris - at least, according to feedback from other users on this Bug List, so we are going back to that release. This is a serious issue w/ PHP 4.3.0 and iPlanet, and needs to be addressed. Thank you. -- Edit this bug report at http://bugs.php.net/?id=22416&edit=1