ID: 30953 Updated by: php-bugs@lists.php.net Reported By: brett_hollon at adp dot com -Status: Feedback +Status: No Feedback Bug Type: Program Execution Operating System: Linux 2.4.18-27.8.0-5 PHP Version: 4.3.8 New Comment:
No feedback was provided for this bug for over a week, 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". Previous Comments: ------------------------------------------------------------------------ [2005-01-12 23:41:24] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2004-12-10 21:26:21] brett_hollon at adp dot com Further information. I have traced this to a file descriptor leak. It appears that a PHP script that is experiencing an error writing to a file is causing descriptor to not close. After an error occurs on the file (open for writing them the filesystem set read-only prior to the write attempt) The file seems to fail to close. Over time hundreds of file descriptors all pointing to the same file build up in the httpd process. ------------------------------------------------------------------------ [2004-12-01 23:43:49] brett_hollon at adp dot com Description: ------------ After several days of uptime on our apache server, PHP system() calls will begin to fail with "Unable to fork" warnings. A stop and start of apache clears the issue. Our apache server is configured with a large number 70-80 of listen ports. Additional system configuration information: Apache: 1.3.31 RAM 1.2GB Dual XEON 2.0 GHz /proc/sys/fs/file-max 70000 ./configure' '--target=' '--enable-memory-limit' '--with-apxs=/adp/home/www_serv/bin/apxs' '--with-gd' '--with-zlib' '--with-zlib-dir=/releases/SW809/target/SW' '--with-jpeg' '--with-jpeg-dir=/releases/SW809/target/SW' '--with-png' '--with-png-dir=/releases/SW809/target/SW' '--with-freetype' '--with-freetype-dir=/releases/SW809/target/SW' '--with-pdflib=/releases/SW809/target/SW' '--with-enable-dba' '--with-cdb' '--with-curl=/releases/SW809/target/SW' '--with-pgsql' '--with-unixODBC' '--with-gdbm' '--with-xmlrpc' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30953&edit=1