#44035 [Opn]: After a while apache hangs. Specially if i refresh instead of clicking a link
| From: | assid at assid dot com | Date: | Tue, 05 Feb 2008 07:41:40 +0000 |
| Subject: | #44035 [Opn]: After a while apache hangs. Specially if i refresh instead of clicking a link | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121990@lists.php.net to get a copy of this message | ||
ID: 44035
User updated by: assid at assid dot com
Reported By: assid at assid dot com
Status: Open
Bug Type: Apache2 related
Operating System: Windows XP
PHP Version: 5.3CVS-2008-02-04 (snap)
New Comment:
I tried disabling the mysql extensions on windows however that didnt
help. I still come across the same issues. I will try and do further
tests to see what I can come across.
Previous Comments:
------------------------------------------------------------------------
[2008-02-05 07:36:00] assid at assid dot com
Yes I actually came across that last night and found out its something
to do with mysql. On windows, I am using the same ones that came with
the snapshots. On linux I had it compiled against the source
------------------------------------------------------------------------
[2008-02-05 00:33:12] jani@php.net
You should propably check this out:
http://bugs.mysql.com/bug.php?id=25621
I don't know what mysql libraries you have PHP linked with but most
likely to the buggy ones, hence the error.
------------------------------------------------------------------------
[2008-02-04 11:38:35] assid at assid dot com
Sorry my bad.. quick update have not tried snapshot on linux yet.. but
5.2.5 and snapshot on windows. And 5.2.5 on linux
------------------------------------------------------------------------
[2008-02-04 11:37:10] assid at assid dot com
I disabled php from apache's modules. Now it doesnt cause apache to
hang. Also, earlier if i stopped apache waited a few mins and then tried
to start it, it didnt used to do that. Checking the process list, i
would always find httpd.exe still running. Disabling the php module now
has clean stop/starts of apache. This problem was very prominent in
linux as well, as mentioned in my original post. Also something related
to this on linux, my sessions used to time out. But I dont know how to
check for that. One thing for certain now is that this behavior is
common between both platforms on 5.2.5 and current snapshot.
------------------------------------------------------------------------
[2008-02-04 09:58:21] assid at assid dot com
Description:
------------
This problem exists with apache+php 5.2.5 and on apache+php 04 Feb 2008
00:10:06 -0500 Version: 5.2.6-dev Branch.
when surfing through a vhost, after a while it just stops working. As
in nothing happens when you click. Apparently it becomes more apparent
IF you hit refresh/reload a few times.. and leave it idle for a minute.
The only way to make it work again, is to restart the apache webserver.
Similarly php-5.2.5 on linux fails to allow apachectl graceful to work.
I have to force stop; killall -9 httpd and then start apache again.
Downgrading to php-5.2.4 seems to fix this issue. Not sure if its
related, but the behavior is similar.
Reproduce code:
---------------
Hitting refresh on the vhost, clicking links and after some time it
hangs.
Expected result:
----------------
Not to hang? - This isnt php code related
Actual result:
--------------
Backtrace available at
http://assid.com/CrashHang_Report__PID_1360(2_dumps)__02042008150839750.mht
php.ini available at : assid.com/php.ini
error log also has Error in my_thread_global_end(): 3 threads didn't
exit when restarting
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44035&edit=1