From:             [EMAIL PROTECTED]
Operating system: Linux 2.4.7
PHP version:      4.0.6
PHP Bug Type:     Scripting Engine problem
Bug description:  Some children get stuck and consume all CPU time (bug #11676?)

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 bug report at: http://bugs.php.net/?id=12583&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to