#25570 [NEW]: Some requests cause Apache to crash/restart
| From: | robert at profundis dot se | Date: | Wed, 17 Sep 2003 07:24:49 +0000 |
| Subject: | #25570 [NEW]: Some requests cause Apache to crash/restart | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-47688@lists.php.net to get a copy of this message | ||
From: robert at profundis dot se
Operating system: Windows XP Professional SP1
PHP version: 4.3.3
PHP Bug Type: Apache2 related
Bug description: Some requests cause Apache to crash/restart
Description:
------------
Platform:
Apache 2.0.47 / PHP 4.3.3
Windows XP Pro SP 1
Problem:
It is similar to bug 24958 (http://bugs.php.net/bug.php?id=24958),
reportedly fixed a while ago, but...
In short: Sometimes a request cause Apache/PHP to crash, and restart
itself.
This first came to my attention when a visitor complained that very often
two pages failed to load (the notorious IE "error" message). I noticed
that these two pages where the largest PHP generated ones, 12 & 14k while
others were about 5-6k. A sniff revealed that the TCP session was
terminated immediately after the request to these pages.
I then noticed in Apache's error log a frequent line:
"[notice] Parent: child process exited with status 4294967295 --
Restarting"
I now understood that this happens from time to time to others as well,
but that the request was resubmitted so it simply produced a little delay
while Apache was restarting. However, I cause Apache to crash perhaps 1
time in 20 requests to this page, while this visitor seem to do it 3 times
in 4 requests. No clue what would make this difference.
I am now usually able to reproduce this myself, by quickly reloading the
page; the bigger the output, the more likely it is to cause the crash.
A document like this:
<?php for($i; $i < 15000; ++$i) echo '-'; ?>
And requesting it two times in perhaps 2/10 second, will in almost all
cases cause the crash.
I have also verified this behaviour in the latest stable 4.3.4-dev build
(php4-win32-STABLE-200309170430.zip).
I cannot trace this crashing (in the log) before a few days ago when I
upgraded from 4.3.1-dev to 4.3.3.
Regards,
Robert Andersson
--
Edit bug report at http://bugs.php.net/?id=25570&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25570&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25570&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25570&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25570&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25570&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25570&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25570&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25570&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25570&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25570&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25570&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25570&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25570&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25570&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25570&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25570&r=float