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 44381] Apache in Forward Proxy mode using 90% + CPU
Date Mon, 03 Mar 2008 21:55:18 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44381





--- Comment #19 from Peter Belau <pbelau1@yahoo.com>  2008-03-03 13:55:18 ---
Ruediger,

Sorry, I missed this message. As I mentioned, the fact that the spin happened
in my code is a coincidence. I can show you a backtrace where it's happening
outside of it...

Peter


(In reply to comment #17)
> Ok I have a suspect and you are not going to like it :-). Its thread 26040 in
> the first backtrace:
> 
> [Switching to thread 108 (Thread 4079500176 (LWP 26040))]#0  0xf7e244f2 in
> strcasecmp () from /lib/libc.so.6
> #0  0xf7e244f2 in strcasecmp () from /lib/libc.so.6
> No symbol table info available.
> #1  0xf7f598cb in apr_table_unset (t=0xef3546f0, key=0xf7da7cde "X-AF-Serial")
>     at tables/apr_tables.c:629
>         k = <value optimized out>
>         next_elt = (apr_table_entry_t *) 0xec579980
>         end_elt = (apr_table_entry_t *) 0xec7f0e20
>         dst_elt = <value optimized out>
>         checksum = <value optimized out>
>         hash = -135510720
> #2  0xf7da7453 in AdInsertFilterOutFilter (f=0xef3549e0, pbbIn=0x5c4c62d8)
>     at mod_afads_filter.c:160
>         r = (request_rec *) 0xef3280a0
>         c = (conn_rec *) 0x5c4c5458
>         request_string = 0xef329478
> "http://www.lonelywivesdatingclub.com/controller2.php?wm_login=uncjordan3&geo=y&view=gallery&bb=y&prev_sit
> e=thebigswallow.com&ref_url="
>         userAgent = 0xef329a88 "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT
> 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.
> 0.04506; InfoPath.2);afcid=Wa2b8d01e73e4892f0361fdb9981a41f4"
>         bufsize = 60000
>         rv = <value optimized out>
>         len = <value optimized out>
>         data = <value optimized out>
>         insTextBucket = <value optimized out>
>         inputBucket = <value optimized out>
>         pp = <value optimized out>
>         ctxt = (AdInsertState *) 0xef354c18
> #3  0x56591140 in ap_pass_brigade (next=0xf7ec4540, bb=0x5c4c62d8)
>     at util_filter.c:526
>         e = (apr_bucket *) 0x2d
> 
> and thread 27974 in the second stacktrace:
> 
> [Switching to thread 14 (Thread 4031372176 (LWP 27974))]#0  0xf7e244e0 in
> strcasecmp () from /lib/libc.so.6
> #0  0xf7e244e0 in strcasecmp () from /lib/libc.so.6
> No symbol table info available.
> #1  0xf7f598cb in apr_table_unset (t=0x593854a8, key=0xf7da7cde "X-AF-Serial")
>     at tables/apr_tables.c:629
>         k = <value optimized out>
>         next_elt = (apr_table_entry_t *) 0xec6d1390
>         end_elt = (apr_table_entry_t *) 0xec7f7054
>         dst_elt = <value optimized out>
>         checksum = <value optimized out>
>         hash = -135510720
> #2  0xf7da7453 in AdInsertFilterOutFilter (f=0x59385798, pbbIn=0x5c110478)
>     at mod_afads_filter.c:160
>         r = (request_rec *) 0x5c101508
>         c = (conn_rec *) 0x5932e208
>         request_string = 0x5c1029e8
> "http://lonelywivesdatingclub.com/index.php?wm_login=cenerror&app=y&geo=y&page=main&ref_url=http%3A%2F%2Fw
> ww.lonelywivesdatingclub.com%2Findex3.php%3Fwm_login%3Duncjordan3%26geo%3Dy%26view%3Dgallery%26"...
>         userAgent = 0x5c103280 "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT
> 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.
> 0.04506; InfoPath.2);afcid=Wa2b8d01e73e4892f0361fdb9981a41f4"
>         bufsize = 60000
>         rv = <value optimized out>
>         len = <value optimized out>
>         data = <value optimized out>
>         insTextBucket = <value optimized out>
>         inputBucket = <value optimized out>
>         pp = <value optimized out>
>         ctxt = (AdInsertState *) 0x593859d0
> #3  0x56591140 in ap_pass_brigade (next=0xf7ec4540, bb=0x5c110478)
>     at util_filter.c:526
>         e = (apr_bucket *) 0xf7ef2380
> 
> 
> Both are stuck in apr_table_unset which is called from your third party module
> mod_afads_filter.c. So there might be some sort of loop in this module provided
> the table used by apr_table_unset is not corrupt and apr_table_unset works
> properly which is likely as its code is very old and bullet proof.
> Anyway to be sure, please do the following in gdb:
> 
> thread 108   or thread 14  (depends on first or second backtrace).
> frame 2
> p *r
> frame 1
> dump_table t
> 
> 
> Be sure to store https://svn.apache.org/repos/asf/httpd/httpd/trunk/.gdbinit in
> the home directory of the user whith whom you call gdb before.
> 


-- 
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