ID: 22416 Updated by: [EMAIL PROTECTED] Reported By: jhalla at legion dot org Status: Feedback Bug Type: iPlanet related Operating System: Solaris 8 PHP Version: 4.3.0 New Comment:
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' Previous Comments: ------------------------------------------------------------------------ [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] ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ 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