From: josh at endries dot org Operating system: RHEL5 PHP version: 5.2.11 PHP Bug Type: Apache2 related Bug description: Max open files limit hit when specifying error_reporting in vhost config
Description: ------------ When I specify "php_[admin_]value error_reporting #" in an Apache virtualhost, loading a page "instantly" fills up the open file descriptors with the PHP error_log. When I comment out that one line, everything works normally. I've used values from 32767 up to 10000000000 but it doesn't seem to matter. If it's defined, my open files limit gets reached on the first request, or higher if the page is simply phpinfo(). Loading my index stops at 1008, the nfo.php script (which is just "<?php phpinfo();") climbed up over 4036 after 3 refreshes. After further testing, everything works correctly with error_reporting values (powers of two, minus one) up to 2047. Values of 4095 and higher cause this problem. Reproduce code: --------------- Script: <?php phpinfo(); VHost config: php_value error_reporting 65535 -- Edit bug report at http://bugs.php.net/?id=49793&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49793&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49793&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49793&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49793&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49793&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49793&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49793&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49793&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49793&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49793&r=support Expected behavior: http://bugs.php.net/fix.php?id=49793&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49793&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49793&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49793&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49793&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49793&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49793&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49793&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49793&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49793&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49793&r=mysqlcfg
