#30405 [Com]: Parent: child process exited with status 4294967295 -- Restarting.

From: Date: Wed, 20 Oct 2004 19:15:42 +0000
Subject: #30405 [Com]: Parent: child process exited with status 4294967295 -- Restarting.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67845@lists.php.net to get a copy of this message
ID: 30405 Comment by: aaron at gwmicro dot com Reported By: joel at preacherboy dot net Status: Open Bug Type: Apache2 related Operating System: Windows 2003 PHP Version: 5.0.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2004-10-12 23:24:44] joel at preacherboy dot net Here's what you'll see in the \log\error_log for Apache2: [Mon Oct 11 09:35:20 2004] [notice] Parent: child process exited with status 4294967295 -- Restarting. [Mon Oct 11 09:35:22 2004] [notice] Parent: Created child process 4004 [Mon Oct 11 09:35:22 2004] [notice] Disabled use of AcceptEx() WinSock2 API [Mon Oct 11 09:35:23 2004] [notice] Child 4004: Child process is running [Mon Oct 11 09:35:23 2004] [notice] Child 4004: Acquired the start mutex. [Mon Oct 11 09:35:23 2004] [notice] Child 4004: Starting 250 worker threads. [Mon Oct 11 09:35:23 2004] [notice] Child 4004: Listening on port 443. [Mon Oct 11 09:35:23 2004] [notice] Child 4004: Listening on port 80. [Mon Oct 11 09:35:23 2004] [notice] Child 4004: Listening on port 80. After some more time, the above will loop. I see 2 other people have voted that they are able to reproduce the issue. Is there anything else you need to regress the bug? ------------------------------------------------------------------------ [2004-10-12 16:26:44] joel at preacherboy dot net I can't think what else I would need to do in explaining how to regress this bug. It happens quite easily. Have you even tried my suggestions? Do you need something else like my httpd.conf to get started? This bug seems identical to what was mentioned in bug #25570. ------------------------------------------------------------------------ [2004-10-12 09:07:39] derick@php.net I don't know what details I want, it's that Windows is simply impossible to debug. You'll have to come up with some really good pointers, otherwise we can just as well delete this bugreport. ------------------------------------------------------------------------ [2004-10-12 08:41:40] joel at preacherboy dot net You're going to have to ask what details you're looking for. I've already read that page. There aren't any specific steps to get this error to occur and existing information is available in the links I provided,but I'll do my best to make this a step-by-step process 1. Install Apache 2.0.52 / PHP 5.0.2 on Windows 2003. 2. Create a website of pages linking each other. 3. View these pages, clicking through links like crazy, using another system. After a few clicks, Apache2 will restart itself. ------------------------------------------------------------------------ [2004-10-12 08:37:48] derick@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/30405 -- Edit this bug report at http://bugs.php.net/?id=30405&edit=1

« previous php.bugs (#67845) next »