ID: 20274 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: iPlanet related Operating System: Solaris 8 PHP Version: 4CVS-2002-11-06 New Comment:
I am experiencing the same thing (OS: Solaris 8 and Solaris 7; iPlanet 4.1 webserver SP9; PHP4.0.4pl1). After restarting the webserver, each time I can do a certain (almost always the same) number of requests for a script and then things go wrong with file-access: Warning: fopen("/path/to/file","r") - Error 0 in /path/to/script.php on line 104. After that, filehandles appear to be invalid and after that, when I request the script bestel.php, it cannot be opened: Warning: Failed opening '/path/to/script/bestel.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0. If more information is needed for help, I will gladly provide it. Previous Comments: ------------------------------------------------------------------------ [2002-11-06 08:43:41] [EMAIL PROTECTED] Is there a sample script we can try to reproduce this with? ------------------------------------------------------------------------ [2002-11-06 04:28:41] [EMAIL PROTECTED] Does the same script exhibit the same behaviour using PHP 4.2.x? ------------------------------------------------------------------------ [2002-11-06 00:16:52] [EMAIL PROTECTED] We are running php4-200211030600 with Sun One Web Server 6.0sp4 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 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 ========== A quick fix is to setup a cron job to restart the web server hourly, but this is not desired. Please let me know if I can provide additional details regarding this issue. Thanks, Jay ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20274&edit=1