You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/11/16 11:46:08 UTC
DO NOT REPLY [Bug 43880] New: - May be deadlock
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43880>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43880
Summary: May be deadlock
Product: Apache httpd-2
Version: 2.2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: regression
Priority: P2
Component: prefork
AssignedTo: bugs@httpd.apache.org
ReportedBy: lenertj@hotmail.com
Every day I must restart apache (kill some threads) because some threads in
status SENDING REPLY forever.
Application: httpd (with proxy balancer) + php (eaccelerator)
Examples:
strace -p 10511
futex(0x2aaab183c2e0, FUTEX_WAIT, 2, NULL <unfinished ...>
gdb httpd 10511
#0 0x00002aaaab9a50a8 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0
#1 0x00007fff6596ee40 in ?? ()
#2 0x00007fff6596ec90 in ?? ()
#3 0x00002aaaab9a1cd7 in pthread_mutex_lock () from /lib64/libpthread.so.0
#4 0x0000000000000010 in ?? ()
#5 0x00002aaab3ee507c in ?? ()
#6 0x0000000000000000 in ?? ()
strace -p 23562
Process 23562 attached - interrupt to quit
futex(0x2aaaabde9af8, FUTEX_WAIT, 2, NULL <unfinished ...>
gdb httpd 23562
#0 0x00002aaaabc8a468 in __lll_mutex_lock_wait () from /lib64/libc.so.6
#1 0x00002aaaabde98a0 in lock () from /lib64/libc.so.6
#2 0x00007fff6596f0d0 in ?? ()
#3 0x00002aaaabc8ef41 in __nss_database_lookup () from /lib64/libc.so.6
#4 0x00007fff6596ef8c in ?? ()
#5 0x0000555555cf9be0 in ?? ()
#6 0x000000006596efd0 in ?? ()
#7 0x0000555555cf9be0 in ?? ()
#8 0x00007fff6596f008 in ?? ()
#9 0x0000555555cfb960 in ?? ()
#10 0x0000000000000001 in ?? ()
#11 0x00007fff6596f310 in ?? ()
#12 0x00002aaab0649420 in zend_compile_file ()
from /etc/httpd/modules/libphp5.so
#13 0x00007fff6596f310 in ?? ()
#14 0x00002aaab7cd5b00 in ?? ()
#15 0x00002aaab03b1646 in zend_parse_parameters ()
from /etc/httpd/modules/libphp5.so
#16 0x0000555555cea9b8 in ?? ()
#17 0x0000000000000000 in ?? ()
strace -p 21981
futex(0x2aaab183c2e0, FUTEX_WAIT, 2, NULL <unfinished ...>
gdb httpd 21981
#0 0x00002aaaab9a50a8 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0
#1 0x00007fff6596f280 in ?? ()
#2 0x00007fff6596f0d0 in ?? ()
#3 0x00002aaaab9a1cd7 in pthread_mutex_lock () from /lib64/libpthread.so.0
#4 0x0000550655ed54a0 in ?? ()
#5 0x0000555555ce6f98 in ?? ()
#6 0x00002aaab7ce4428 in ?? ()
#7 0x00007fff6596edc8 in ?? ()
#8 0x00002aaaaaae8080 in ?? ()
#9 0x0000555555ed6300 in ?? ()
#10 0x0000555555ed63a8 in ?? ()
#11 0x0000000000000001 in ?? ()
#12 0x00002aaaaaafe6f0 in ?? ()
#13 0x00002aaa0000003e in ?? ()
#14 0x00007f066596efe0 in ?? ()
#15 0x00002aaab0649420 in zend_compile_file ()
from /etc/httpd/modules/libphp5.so
#16 0x00007fff65970120 in ?? ()
#17 0x00002aaab95f7b28 in ?? ()
#18 0x00002aaaaaae2548 in ?? ()
#19 0x00002aaaaaaf22d0 in ?? ()
#20 0x00002aaab173571f in _nss_files_gethostbyname2_r ()
from /lib64/libnss_files.so.2
#21 0x00002aaaabc6828d in gaih_inet () from /lib64/libc.so.6
#22 0x00002aaaabc68e43 in getaddrinfo () from /lib64/libc.so.6
#23 0x00002aaab0378f4c in php_network_get_peer_name ()
from /etc/httpd/modules/libphp5.so
#24 0x00002aaab0379611 in php_network_connect_socket_to_host ()
from /etc/httpd/modules/libphp5.so
#25 0x00002aaab03869e7 in php_stream_generic_socket_factory ()
from /etc/httpd/modules/libphp5.so
#26 0x00002aaab0260717 in zif_openssl_x509_export_to_file ()
from /etc/httpd/modules/libphp5.so
#27 0x00002aaab037bb81 in _php_stream_set_option ()
from /etc/httpd/modules/libphp5.so
#28 0x00002aaab0384e4b in php_stream_xport_connect ()
from /etc/httpd/modules/libphp5.so
#29 0x00002aaab03851aa in _php_stream_xport_create ()
from /etc/httpd/modules/libphp5.so
#30 0x00002aaab034ac5c in php_stream_url_wrap_http_ex ()
from /etc/httpd/modules/libphp5.so
#31 0x00002aaab034cff5 in php_stream_url_wrap_http ()
from /etc/httpd/modules/libphp5.so
#32 0x00002aaab037d4e4 in _php_stream_open_wrapper_ex ()
from /etc/httpd/modules/libphp5.so
#33 0x00002aaab030ea06 in zif_file () from /etc/httpd/modules/libphp5.so
#34 0x00002aaab03c75ed in zend_get_zval_ptr ()
from /etc/httpd/modules/libphp5.so
#35 0x00002aaab03c577a in execute () from /etc/httpd/modules/libphp5.so
#36 0x00002aaab03ca8a4 in zend_do_fcall () from /etc/httpd/modules/libphp5.so
#37 0x00002aaab03c577a in execute () from /etc/httpd/modules/libphp5.so
#38 0x00002aaab03aa0fe in zend_execute_scripts ()
from /etc/httpd/modules/libphp5.so
#39 0x00002aaab036cab1 in php_execute_script ()
from /etc/httpd/modules/libphp5.so
#40 0x00002aaab0431bba in zend_do_fcall () from /etc/httpd/modules/libphp5.so
#41 0x000055555557cd63 in ap_run_handler (r=0x555555e9d988)
at /usr/src/debug/httpd-2.2.6/server/config.c:157
#42 0x000055555557d0c1 in ap_invoke_handler (r=0x555555e9d988)
at /usr/src/debug/httpd-2.2.6/server/config.c:372
#43 0x00005555555892d9 in ap_process_request (r=0x555555e9d988)
at /usr/src/debug/httpd-2.2.6/modules/http/http_request.c:258
#44 0x0000555555586c38 in ap_process_http_connection (c=0x555555dbc388)
at /usr/src/debug/httpd-2.2.6/modules/http/http_core.c:184
#45 0x00005555555834d9 in ap_run_process_connection (c=0x555555dbc388)
at /usr/src/debug/httpd-2.2.6/server/connection.c:43
#46 0x000055555558cd92 in child_main (child_num_arg=Variable "child_num_arg"
is not available.
) at /usr/src/debug/httpd-2.2.6/server/mpm/prefork/prefork.c:651
#47 0x000055555558d01c in make_child (s=0x5555556b1a70, slot=171)
at /usr/src/debug/httpd-2.2.6/server/mpm/prefork/prefork.c:747
#48 0x000055555558d97b in ap_mpm_run (_pconf=Variable "_pconf" is not
available.
) at /usr/src/debug/httpd-2.2.6/server/mpm/prefork/prefork.c:882
#49 0x000055555556ba00 in main (argc=1, argv=0x7fff65977788)
at /usr/src/debug/httpd-2.2.6/server/main.c:730
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 43880] - May be deadlock
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43880>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43880
nick@webthing.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From nick@webthing.com 2007-11-16 03:17 -------
The traceback comes from deep within a third-party application, not Apache.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org