|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-12-05 15:22 UTC] rs6079 at nbtsc dot org
I think that Bug #11346 applies to 4.2.3 as well, and #17672 as well. I have a script using lots of output-buffer functions that seems to hang, eating 100% CPU, and occasionally truncates output. The error log shows: [Thu Dec 5 14:08:42 2002] [error] PHP Fatal error: Maximum execution time of 30 seconds exceeded in Unknown on line 0 for each process, and there are several HTTP processes running full-tilt, executing no system nor library calls. (strace and ltrace show nothing). Configure Command './configure' '--sysconfdir=/etc/httpd' '--with-mysql=/src/mysql/mysql-404-php' '--with-snmp' '--with-gd' '--with-jpeg-dir=/src/jpeg/jpeg-6b' '--with-png-dir=/src/png/libpng-1.0.12' '--with-zlib-dir=/src/zlib/zlib-1.1.3' '--with-gdbm' '--with-db3' '--enable-ftp' '--with-imap' '--enable-sockets' '--with-kerberos' '--with-imap-ssl' '--with-openssl' '--cache-file=/dev/null' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xmlrpc' PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 23:00:01 2025 UTC |
Haven't had time to test against the latest, but I have a simple testcase: <?php function obfunc($s) { $s = str_replace('foo', 'bar', $s); return $s; } ob_start('obfunc'); print('this is really foo bar baz wat'); ?> -- basically, any modification to the incoming data in-place, instead of copying to a new variable causes a hang.