Christopher Shumway wrote:
On Thu, 1 Mar 2007, Christopher Shumway wrote:

This seems to be the 'HTTP Headers', whats the output of a curl -I when this happens ?
I'm a bit busy lately.... All I can tell is its definitely in the headers generation code. Its probably very unlikely the code is at fault, but some header is breaking an RFC or something.

I wish I had more time.


After over 72 hours of looping several curl -I fetching various modperl pages, I still haven't been able to directly reproduce the problem. So, I've enabled mod_log_forensic in hopes it might shed some light on the problem.

Here's a backtrace from a recently crashed httpd:

(gdb) bt
#0 0x08050c55 in ap_table_get (t=0x0, key=0x9cb5b28 "Set-Cookie") at alloc.c:1444
#1  0x285106df in XS_Apache_cgi_header_out (cv=0x88c9c34) at Apache.c:2662
#2  0x285cbf88 in Perl_pp_entersub () at pp_hot.c:2913
#3  0x285abecb in Perl_runops_debug () at dump.c:1459
#4 0x28551f19 in S_call_body (myop=0xbfbfeb70, is_eval=0 '\0') at perl.c:2731
#5  0x28551acb in Perl_call_sv (sv=0x88ca258, flags=4) at perl.c:2646
#6 0x284fc497 in perl_call_handler (sv=0x88ca258, r=0x890a038, args=0x0) at mod_perl.c:1668 #7 0x284fbb24 in perl_run_stacked_handlers (hook=0x28525d2f "PerlHandler", r=0x890a038, handlers=0x88ca090) at mod_perl.c:1381
#8  0x284f9bb1 in perl_handler (r=0x890a038) at mod_perl.c:904
#9  0x08054d96 in ap_invoke_handler (r=0x890a038) at http_config.c:476
#10 0x0806a3ed in process_request_internal (r=0x890a038) at http_request.c:1299
#11 0x0806a44c in ap_process_request (r=0x890a038) at http_request.c:1315
#12 0x08061177 in child_main (child_num_arg=7) at http_main.c:4898
#13 0x0806146c in make_child (s=0x8099038, slot=7, now=1173127181) at http_main.c:5077
#14 0x08061513 in startup_children (number_to_start=3) at http_main.c:5104
#15 0x08061b5e in standalone_main (argc=2, argv=0xbfbfeee4) at http_main.c:5436
#16 0x08062391 in main (argc=2, argv=0xbfbfeee4) at http_main.c:5793

And the corresponding forensic entry:

# grep ReyC1c8hFowAABfzJoU forensic.log
+ReyC1c8hFowAABfzJoU|GET /modperl/achievement/fl/1858 HTTP/1.0|Accept-Encoding:gzip|Host:www.greatschools.net|Max-Forwards:10|User-Agent:Mediapartners-Google/2.1|X-Forwarded-For:66.249.65.51|X-Forwarded-Host:www.greatschools.net|X-Forwarded-Server:proxy2.greatschools.net

And another, just in case a pattern can be identified:

(gdb) bt
#0 0x08050c8f in ap_table_get (t=0x80df010, key=0x9c78d08 "Set-Cookie") at alloc.c:1451
#1  0x285106df in XS_Apache_cgi_header_out (cv=0x88c9c34) at Apache.c:2662
#2  0x285cbf88 in Perl_pp_entersub () at pp_hot.c:2913
#3  0x285abecb in Perl_runops_debug () at dump.c:1459
#4 0x28551f19 in S_call_body (myop=0xbfbfeb70, is_eval=0 '\0') at perl.c:2731
#5  0x28551acb in Perl_call_sv (sv=0x88ca258, flags=4) at perl.c:2646
#6 0x284fc497 in perl_call_handler (sv=0x88ca258, r=0x890a038, args=0x0) at mod_perl.c:1668 #7 0x284fbb24 in perl_run_stacked_handlers (hook=0x28525d2f "PerlHandler", r=0x890a038, handlers=0x88ca090) at mod_perl.c:1381
#8  0x284f9bb1 in perl_handler (r=0x890a038) at mod_perl.c:904
#9  0x08054d96 in ap_invoke_handler (r=0x890a038) at http_config.c:476
#10 0x0806a3ed in process_request_internal (r=0x890a038) at http_request.c:1299
#11 0x0806a44c in ap_process_request (r=0x890a038) at http_request.c:1315
#12 0x08061177 in child_main (child_num_arg=0) at http_main.c:4898
#13 0x0806146c in make_child (s=0x8099038, slot=0, now=1173127181) at http_main.c:5077
#14 0x08061513 in startup_children (number_to_start=10) at http_main.c:5104
#15 0x08061b5e in standalone_main (argc=2, argv=0xbfbfeee4) at http_main.c:5436
#16 0x08062391 in main (argc=2, argv=0xbfbfeee4) at http_main.c:5793

corresponding forensic.log entry:

# grep ReyEes8hFowAABfsHIw forensic.log

+ReyEes8hFowAABfsHIw|GET /modperl/districts/NM HTTP/1.0|Host:www.greatschools.net|Max-Forwards:10|User-Agent:Mozilla/4.0 (compatible ; MSIE 6.0; Windows NT 5.1)|X-Forwarded-For:70.154.49.7|X-Forwarded-Host:www.greatschools.net|X-Forwarded-Server:proxy1.greatschools.net


Is there anything useful that I could produce from this data that might help get to he bottom of this problem?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
------------------------------------------------------------------------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to