#41028 [Opn->Fbk]: mod_fastcgi and php process 100% cpu
| From: | tony2001@php.net | Date: | Mon, 09 Apr 2007 15:03:54 +0000 |
| Subject: | #41028 [Opn->Fbk]: mod_fastcgi and php process 100% cpu | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111236@lists.php.net to get a copy of this message | ||
ID: 41028
Updated by: tony2001@php.net
Reported By: vaidotas dot d at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: CGI related
Operating System: Linux 2.6.20
PHP Version: 5.2.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2007-04-09 14:59:29] vaidotas dot d at gmail dot com
Description:
------------
Apache 2.0.59 + mod_fastcgi + php 5.2.1. Sometimes php process becomes
R in process list and takes 100% cpu. At that time php page cannot be
served, instead i get 500 internal server error. Strace of that process
i get: strace -p 28973
...........
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb793c0c8) = 6977
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6976
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb793c0c8) = 6978
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6978
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb793c0c8) = 6981
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6981
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb793c0c8) = 6983
..........
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41028&edit=1