#49793 [Opn->Fbk]: Max open files limit hit when specifying error_reporting in vhost config
| From: | jani@php.net | Date: | Tue, 06 Oct 2009 20:23:17 +0000 |
| Subject: | #49793 [Opn->Fbk]: Max open files limit hit when specifying error_reporting in vhost config | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-143335@lists.php.net to get a copy of this message | ||
ID: 49793
Updated by: jani@php.net
Reported By: josh at endries dot org
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: RHEL5
PHP Version: 5.2.11
New Comment:
Please try using this snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2009-10-06 17:30:33] josh at endries dot org
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 this bug report at http://bugs.php.net/?id=49793&edit=1