ID: 20274 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: No Feedback +Status: Open Bug Type: iPlanet related Operating System: Solaris 8 PHP Version: 4CVS-2002-11-06 New Comment:
Increasing file descriptors only delays the problem. Our script to monitor the problem reports the following: Monitoring http://our.site.com Attempting to contact instance, try # 0 Web server successfully contacted Too many open files being reported. Likely PHP problem ... =-=-=-=-=-=-=-=-=-=-= HTML RETURNED =-=-=-=-=-=-=-=- HTTP/1.1 200 OK Connection: close Date: Wed, 22 Jan 2003 00:50:00 GMT Server: Netscape-Enterprise/6.0 Content-Type: text/html Client-Date: Wed, 22 Jan 2003 00:50:01 GMT Client-Peer: 192.10.1.2:80 X-Powered-By: PHP/4.3.0 <br /> <b>Warning</b>: Unknown(/site/web/index.php): failed to create stream: Too many open files in <b>Unknown</b> on line <b>0</b><br /> <br /> <b>Warning</b>: Unknown(): Failed opening '/site/web/index.php' for inclusion (include_path='.:/usr/local/lib/php') in <b>Unknown</b> on line <b>0</b><br /> Shutting down server with script: /web/https-web-server/stop Restarting server with script: /web/https-web-server/start done. Attempting to contact instance, try # 1 Web server successfully contacted PHP problems resolved by restarting web server Where can I go from here? Previous Comments: ------------------------------------------------------------------------ [2002-12-27 01:00:04] [EMAIL PROTECTED] No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-12-11 17:12:32] [EMAIL PROTECTED] Please try increasing your kernel file descriptor limit ------------------------------------------------------------------------ [2002-12-11 13:57:32] [EMAIL PROTECTED] I get the same error message "failed to create stream: Too many open files in Unknown on line 0" and "for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0" I have php4.3.0RC2 and iplanet6 SP5. I opened the bug #20653. I was told to compile the latest php on my system and you send me php4.4.0-Dev. But I did not wanted to put Dev on the production box so I downloaded php4.3.0rc2 off of php.net site and installed it on my test box. I tested it for 10 days it worked fine. But now that I compiled the same thing on the production box I get the above error messages. What should I do? ------------------------------------------------------------------------ [2002-12-01 04:43:02] [EMAIL PROTECTED] [EMAIL PROTECTED]: Can you try increasing your kernel file descriptor limit (Try doubling it)? (Don't ask me how; I don't have Solaris). It's possible that PHP just uses more files concurrently than it used to, however, it could also be a leak. ------------------------------------------------------------------------ [2002-11-30 18:04:12] [EMAIL PROTECTED] P.S. was able to correct the make issue with 4.2.3 with correct nsapi include path. ------------------------------------------------------------------------ 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/20274 -- Edit this bug report at http://bugs.php.net/?id=20274&edit=1