httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45362] Reverse Proxy Threads or Children spinning on CPU
Date Mon, 29 Mar 2010 12:11:32 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45362

Peter Boros <peter.boros@vengit.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Core                        |mod_proxy
           Platform|PC                          |Sun
         OS/Version|Linux                       |Solaris

--- Comment #10 from Peter Boros <peter.boros@vengit.com> 2010-03-29 12:11:28 UTC ---
We ran into this bug with apache 2.2.9 on Solaris 10. Here are the stack
traces:
# pstack 19235
19235:  /opt/coolstack/apache2/bin/httpd -k start
 ff236b1c ???????? (dafa0, 87c88, 87c88, 455518, 1b7788, 87d50)
 fe2ec680 connection_cleanup (dafe0, dafe0, 7, 96bd0, 8fc20, 974c8) + 148
 fe2ed0a8 ap_proxy_release_connection (fe2c5fb8, dafe0, 97440, 10400, fe300a0c,
96bd0) + 4c
 fe2c5064 proxy_http_handler (fffffffe, dafe0, ec318, ffbf9694, fe2c5fb8,
1ac660) + 3e8
 fe2e508c proxy_handler (fe2c4c7c, fe3018b8, 1f78c8, fe2eec9c, ec3e0, ec318) +
728
 0003fe60 ap_run_handler (1f78c8, 4, 826ac, 826c8, 9f330, 0) + 3c
 00040478 ap_invoke_handler (1f78c8, 9f450, 0, 0, 0, fe2ee1c8) + e8
 0004fcbc ap_process_request (0, 80000, 1f78c8, 0, 0, 1f78c8) + 54
 0004ca68 ap_process_http_connection (1999e8, 1f78c8, 8fc20, 80000, 801b8,
80000000) + 6c
 000482f8 ap_run_process_connection (1999e8, 199750, 9ef88, 82ee4, 9f760, 0) +
3c
 0005505c child_main (22, 1999e8, 6b75c, 82f30, 803bc, 1) + 64c
 000553b0 make_child (54400, 33, 0, 0, 34, 80000) + 13c
 00055654 perform_idle_server_maintenance (80000, 57, 19, 803ac, 8337c, 4) +
1d0
 00055d54 ap_mpm_run (80000, 0, ffffffff, 27, 803c4, 82f40) + 678
 0002928c main     (8bdb0, ffbffd08, 8023c, 7f090, 64650, 7f080) + 9f4
 00028378 _start   (0, 0, 0, 0, 0, 0) + 108

# mdb -p 19235

Loading modules: [ ld.so.1 libc.so.1 libuutil.so.1 ]
> $C
ffbf9498 libapr-1.so.0.3.0`apr_thread_mutex_unlock+0xc(dafa0, 87c88, 87c88,
455518, 1b7788, 87d50)
ffbf94f8 mod_proxy.so`connection_cleanup+0x148(dafe0, dafe0, 7, 96bd0, 8fc20,
974c8)
ffbf9560 mod_proxy.so`ap_proxy_release_connection+0x4c(fe2c5fb8, dafe0, 97440,
10400, fe300a0c, 96bd0)
ffbf95c8 mod_proxy_http.so`proxy_http_handler+0x3e8(fffffffe, dafe0, ec318,
ffbf9694, fe2c5fb8, 1ac660)
ffbf96b8 mod_proxy.so`proxy_handler+0x728(fe2c4c7c, fe3018b8, 1f78c8, fe2eec9c,
ec3e0, ec318)
ffbf9790 httpd`ap_run_handler+0x3c(1f78c8, 4, 826ac, 826c8, 9f330, 0)
ffbf97f0 httpd`ap_invoke_handler+0xe8(1f78c8, 9f450, 0, 0, 0, fe2ee1c8)
ffbf9858 httpd`ap_process_request+0x54(0, 80000, 1f78c8, 0, 0, 1f78c8)
ffbf98b8 httpd`ap_process_http_connection+0x6c(1999e8, 1f78c8, 8fc20, 80000,
801b8, 80000000)
ffbf9920 httpd`ap_run_process_connection+0x3c(1999e8, 199750, 9ef88, 82ee4,
9f760, 0)
ffbf9980 httpd`child_main+0x64c(22, 1999e8, 6b75c, 82f30, 803bc, 1)
ffbf9a18 httpd`make_child+0x13c(54400, 33, 0, 0, 34, 80000)
ffbf9a78 httpd`perform_idle_server_maintenance+0x1d0(80000, 57, 19, 803ac,
8337c, 4)
ffbf9b78 httpd`ap_mpm_run+0x678(80000, 0, ffffffff, 27, 803c4, 82f40)
ffbf9c20 main+0x9f4(8bdb0, ffbffd08, 8023c, 7f090, 64650, 7f080)
ffbffd20 _start+0x108(0, 0, 0, 0, 0, 0)

We use apache in prefork mode. The apache process fully utilizes 1 cpu when
it's stuck. If we disable connection reusing with disableReuse=On, then there
are no stuck apache processes.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message