ID: 44954 User updated by: abakker at gmx dot net Reported By: abakker at gmx dot net Status: Bogus Bug Type: Reproducible crash Operating System: win32 only - Win XP PHP Version: 5.2.8 New Comment:
Bug or not, it is a nasty problem because the Apache server stops responding to requests from any user. It would be nice if someone would figure out what goes wrong (and how to avoid that). Previous Comments: ------------------------------------------------------------------------ [2009-02-17 18:47:07] paj...@php.net It is not a crash but a timeout during the connection for whatever reasons. There is no bug here. ------------------------------------------------------------------------ [2009-01-21 19:30:30] j...@php.net I can not reproduce this on real OS. Assuming it's win32 only issue. ------------------------------------------------------------------------ [2009-01-20 08:23:26] abakker at gmx dot net I completely removed Apache and PHP from my PC and did a fresh default install of Apache 2.2.11 and PHP 5.2.8 (on my PC with Windows XP Pro). The problem still occurs. After 202 iterations of file_get_contents the script continues very slowly, every iteration takes 1 minute. In the Apache error log file the following entries are created: [Tue Jan 20 09:09:17 2009] [error] [client 127.0.0.1] PHP Warning: file_get_contents(http://localhost/bugs/bug.htm) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\r\n in C:\\Andre\\Apache\\public_html\\bugs\\bug.php on line 7 [Tue Jan 20 09:10:17 2009] [error] [client 127.0.0.1] PHP Warning: file_get_contents(http://localhost/bugs/bug.htm) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\r\n in C:\\Andre\\Apache\\public_html\\bugs\\bug.php on line 7 [Tue Jan 20 09:11:17 2009] [error] [client 127.0.0.1] PHP Warning: file_get_contents(http://localhost/bugs/bug.htm) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\r\n in C:\\Andre\\Apache\\public_html\\bugs\\bug.php on line 7 Apache does not respond to page requests in other sessions, i.e. other users cannot access web pages anymore. I guess technically speaking Apache does not crash, but hangs. Maybe that is why I am unable to create a backtrace. Anyway, the problem occurs with a default install of Apache and PHP. Maybe you are able to reproduce the problem if you do a default install on your PC. ------------------------------------------------------------------------ [2008-08-07 22:15:17] j...@php.net The problem is that I can't reproduce this. So it's up to you either provide the backtrace or just let this report rot. ------------------------------------------------------------------------ [2008-07-24 09:10:43] abakker at gmx dot net I tried to create a backtrace for the httpd.exe process, but no dmp file is generated. Either Apache does not crash (but hangs) or I am doing something wrong. The problem can easily be reproduced (just run the script I provided). I suggest you reproduce the problem yourself which allows you to do whatever analysis or backtracing you need. That would be far more efficient than passing it back to me. ------------------------------------------------------------------------ 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/44954 -- Edit this bug report at http://bugs.php.net/?id=44954&edit=1