Bug #12583 Updated: Some children get stuck and consume all CPU time (bug #11676?)
| From: | yohgaki@php.net | Date: | Fri, 14 Dec 2001 19:35:42 +0000 |
| Subject: | Bug #12583 Updated: Some children get stuck and consume all CPU time (bug #11676?) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73815@lists.php.net to get a copy of this message | ||
ID: 12583
Updated by: yohgaki
Reported By: swan@multiplayer.it
Old Status: Open
Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Linux 2.4.7
PHP Version: 4.0.6
New Comment:
You may need to use child terminate...
Could you try 4.1..0 see if it helps? and report the result?
Previous Comments:
------------------------------------------------------------------------
[2001-08-05 18:15:52] swan@multiplayer.it
After some unexplainable crash of our webserver, i managed tracking down some children who had
incredibly high running time (in the order of hundreds of minutes!) and CPU consumption...
I backtraced 2 of 'em and this is what i got:
#0 0x4012c248 in chunk_free ()
#1 0x4012bfaa in __cfree ()
#2 0x8109741 in zend_hash_destroy ()
#3 0x807bc95 in php_shutdown_config ()
#4 0x80799a0 in php_config_ini_shutdown ()
#5 0x8079e85 in php_module_shutdown ()
#6 0x8079e58 in php_module_shutdown_wrapper ()
#7 0x8077c45 in php_child_exit_handler ()
#8 0x814af41 in ap_child_exit_modules ()
#9 0x8150c5d in clean_child_exit ()
#10 0x8153a87 in child_main ()
#11 0x81540ac in make_child ()
#12 0x8154426 in perform_idle_server_maintenance ()
#13 0x8154965 in standalone_main ()
#14 0x8154f23 in main ()
#15 0x400ea9f3 in __libc_start_main ()
#0 0x4012c243 in chunk_free ()
#1 0x4012bfaa in __cfree ()
#2 0x80f5b4c in shutdown_memory_manager ()
#3 0x8079978 in php_request_shutdown ()
#4 0x8077291 in php_apache_request_shutdown ()
#5 0x8145a0e in run_cleanups ()
#6 0x814423d in ap_clear_pool ()
#7 0x81442b1 in ap_destroy_pool ()
#8 0x8153ebd in child_main ()
#9 0x81540ac in make_child ()
#10 0x8154426 in perform_idle_server_maintenance ()
#11 0x8154965 in standalone_main ()
#12 0x8154f23 in main ()
#13 0x400ea9f3 in __libc_start_main ()
I searched through the bug reports and it looks exactly like bug #11676 adn probably #11723, but
that bug has not been solved, or at least it looks so...
We're running php 4.0.6(+memory limit fix) on apache 1.3.20 on a linux 2.4.7 with glibc 2.1.3-6
(caldera eserver 2.3).
My conf line was:
CFLAGS="" \
./configure \
--with-apache=../apache_1.3.20 \
--with-mysql \
--enable-memory-limit
Let me know if I have to do something to help you more.
Michele Sollazzo
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12583&edit=1