https://issues.apache.org/bugzilla/show_bug.cgi?id=51062
Summary: httpd child process consumes CPU
Product: Apache httpd-2
Version: 2.2.15
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [email protected]
Httpd is used as a reverse proxy, load is not significantly high.
Actual behaviour: one of httpd child processes is running (for 14 hours)
Expected behaviour: all child processes should be sleeping (having run at most
several seconds)
Got two traces by attaching to the faulty process via gdb.
* trace 1
#0 apr_bucket_free (mem=0x8fa9768) at buckets/apr_buckets_alloc.c:187
#1 0x001589c8 in apr_brigade_cleanup (data=0x8f5c3d0)
at buckets/apr_brigade.c:44
#2 0x001589fd in brigade_cleanup (data=0x8f5c3d0) at buckets/apr_brigade.c:34
#3 0x008870ed in run_cleanups (cref=0x8f5b230) at memory/unix/apr_pools.c:2308
#4 0x00887ee7 in apr_pool_clear (pool=0x8f5b220)
at memory/unix/apr_pools.c:737
#5 0x080aa186 in child_main (child_num_arg=<value optimized out>)
at prefork.c:554
#6 0x080aa5f7 in make_child (s=0x8e509a8, slot=16) at prefork.c:758
#7 0x080aaf50 in ap_mpm_run (_pconf=0x8e49600, plog=0x8e856f0, s=0x8e509a8)
at prefork.c:893
#8 0x08069aa5 in main (argc=149190136, argv=0x8f59218) at main.c:740
* trace 2
#0 0x001589b6 in apr_brigade_cleanup (data=0x8f5c3d0)
at buckets/apr_brigade.c:44
#1 0x001589fd in brigade_cleanup (data=0x8f5c3d0) at buckets/apr_brigade.c:34
#2 0x008870ed in run_cleanups (cref=0x8f5b230) at memory/unix/apr_pools.c:2308
#3 0x00887ee7 in apr_pool_clear (pool=0x8f5b220)
at memory/unix/apr_pools.c:737
#4 0x080aa186 in child_main (child_num_arg=<value optimized out>)
at prefork.c:554
#5 0x080aa5f7 in make_child (s=0x8e509a8, slot=16) at prefork.c:758
#6 0x080aaf50 in ap_mpm_run (_pconf=0x8e49600, plog=0x8e856f0, s=0x8e509a8)
at prefork.c:893
#7 0x08069aa5 in main (argc=149190136, argv=0x8f59218) at main.c:740
* conclusion
Process got stuck in brigade_cleanup(), continually invoking
apr_brigade_cleanup()
Possibly related issues: 46785, 50335, 34288.
I can provide more output from gdb, just give me the input.
--
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: [email protected]
For additional commands, e-mail: [email protected]