|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-05-17 18:48 UTC] tony2001@php.net
[2006-05-17 19:00 UTC] phpbugs at thequod dot de
[2006-05-17 19:45 UTC] tony2001@php.net
[2006-05-17 20:12 UTC] phpbugs at thequod dot de
[2006-05-24 11:06 UTC] dmitry@php.net
[2006-05-24 17:21 UTC] phpbugs at thequod dot de
[2006-07-19 14:29 UTC] dmitry@php.net
[2006-07-19 22:11 UTC] phpbugs at thequod dot de
[2006-07-20 06:29 UTC] tony2001@php.net
[2006-07-20 11:06 UTC] phpbugs at thequod dot de
[2006-08-03 20:36 UTC] phpbugs at thequod dot de
[2006-08-03 20:45 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 13:00:01 2025 UTC |
Description: ------------ If memory_limit gets reached, I get "Allowed memory size of XXX bytes exhausted (tried to allocate XXX bytes)" written to the server's main error log and [Wed May 17 20:22:26 2006] [error] [client XXX] (104)Connection reset by peer: FastCGI: comm with server "/var/www/XXX/php5-fcgi-starter" aborted: read failed [Wed May 17 20:22:26 2006] [error] [client XXX] FastCGI: incomplete headers (0 bytes) received from server "/var/www/XXX/php5-fcgi-starter" into the virtual host's error log. Reproduce code: --------------- <?php ini_set('memory_limit', '1M' ); $s = ''; while( 1 ) $s .= 'foo'; ?> Expected result: ---------------- [Wed May 17 20:23:49 2006] [error] [client XXX] FastCGI: server "/var/www/XXX/php5-fcgi-starter" stderr: PHP Fatal error: Allowed memory size of XXX bytes exhausted (tried to allocate XXX bytes) in /var/www/XXX/web/index.php on line XXX Actual result: -------------- No entry about the exhausted memory in the virtual host's error log, but only in the main error log, _without_ any source file or line mentioned (which is the case with mod_php AFAIK)