From: vaidotas dot d at gmail dot com Operating system: Linux 2.6.20 PHP version: 5.2.1 PHP Bug Type: CGI related Bug description: mod_fastcgi and php process 100% cpu
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 bug report at http://bugs.php.net/?id=41028&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41028&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41028&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41028&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41028&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41028&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41028&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41028&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41028&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41028&r=support Expected behavior: http://bugs.php.net/fix.php?id=41028&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41028&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41028&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41028&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41028&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41028&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41028&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41028&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41028&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41028&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41028&r=mysqlcfg