|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-10-11 23:39 UTC] joel at preacherboy dot net
Description: ------------ PHP 5.0.2 / Apache 2.0.52 / Windows 2003 While visiting the website, clicking through links like mad can result in the following Apache2 crash: [Mon Oct 11 09:35:20 2004] [notice] Parent: child process exited with status 4294967295 -- Restarting. Others have experienced this bug as well: http://groups.yahoo.com/group/firebird-php/message/779 http://bugs.php.net/bug.php?id=25570 I'm going to downgrade to PHP 4.3.2 to get the system back to some form of stability. I have a clone of the system to test on. Reproduce code: --------------- PHP source doesn't need to contain PHP code. Try hosting a file of 100% HTML code with a .php extension. Expected result: ---------------- Apache2 should not crash and restart. The crash and restart can result in a 5-10 second delay for viewing a page or a File Not Found error. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 11:00:01 2025 UTC |
I can consistenly reproduce this problem. [Wed Oct 20 14:08:43 2004] [notice] Parent: child process exited with status 4294967295 -- Restarting. Here's how we're duplicating it under Windows Server 2003, running Apache/2.0.52 (Win32) DAV/2 mod_ssl/2.0.52 OpenSSL/0.9.7d PHP/5.1.0-dev: <? $filename = "c:\\demo\\demo.exe"; $fileInfo = stat($filename); $length = $fileInfo[7]; header("Content-Length: $length"); header("Content-Type:application/octet-stream"); header("Cache-Control: no-cache, must-revalidate"); header("Connection: close"); header("Content-Length: $length"); header("Content-Type:application/octet-stream"); header("Content-Disposition: inline; filename=demo.exe"); header("Pragma: no-cache"); $fh = fopen($filename, "rb"); while (!feof($fh)) { $buffer = fread($fh, 1024); print $buffer; } fclose($fh); header("Connection: close"); ?> The demo file is about 35MB, and if you cancel the download half-way through, you'll consistently get this error in the apache log, and the child restarting process will happen. The line right before the restart is: [Wed Oct 20 14:08:42 2004] [info] (OS 10054)An existing connection was forcibly closed by the remote host. : core_output_filter: writing data to the network I can duplicate this problem 100% of the time.