Hello.
I have a number of error_log entries I’m trying to resolve.
We're fronting a Tomcat 6.0.29 instance with httpd 2.2.15 via mod_proxy_ajp.
My suspicion is that we get requests with too-long request uri and or
Referrer and this is gumming up the works for AJP protocol marshalling.
Would a change to mod_proxy_http solve the issues? I’d rather not do that if
there’s some Apache/Tomcat connector conf change I can make.
FWIW, here’s my connector def:
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" maxThreads="2048"
minSpareThreads="50" maxSpareThreads="200" enableLookups="false"/>
Thank you,
David
These happen together
[Wed Nov 17 16:54:49 2010] [error] ajp_msg_append_cvt_string():
BufferOverflowException 4 3129
[Wed Nov 17 16:54:49 2010] [error] ajp_marshal_into_msgb: Error appending
the query string
[Wed Nov 17 16:54:49 2010] [error] ajp_send_header: ajp_marshal_into_msgb
failed
[Wed Nov 17 16:54:49 2010] [error] (120001)APR does not understand this
error code: proxy: AJP: request failed to 127.0.0.1:8009 (localhost)
Some are like this:
[Wed Nov 17 18:25:10 2010] [error] ajp_msg_append_cvt_string():
BufferOverflowException 4 8186
[Wed Nov 17 18:25:10 2010] [error] ajp_marshal_into_msgb: Error appending
attribute AJP_REMOTE_PORT=50872
[Wed Nov 17 18:25:10 2010] [error] ajp_send_header: ajp_marshal_into_msgb
failed
[Wed Nov 17 18:25:10 2010] [error] (120001)APR does not understand this
error code: proxy: AJP: request failed to 127.0.0.1:8009 (localhost)
[Wed Nov 17 06:16:42 2010] [error] [client 128.23.54.92] proxy: error
processing end, referer: http://foo.bar.com/
[Wed Nov 17 06:00:04 2010] [error] [client 76.248.240.226] proxy: error
processing body. Client aborted connection.,
referer: http://my.horoscope.com/astrology/free-daily-horoscope-virgo.html
[Wed Nov 17 06:02:57 2010] [error] [client 76.88.35.55] request failed:
error reading the headers
[Wed Nov 17 06:01:53 2010] [error] [client 98.247.17.178] request failed:
error reading the headers,
referer: http://politifact.com/truth-o-meter/
This one is clear, is there a conf change I can make?
[Wed Nov 17 06:08:14 2010] [error] [client 216.220.11.62] request failed:
URI too long (longer than 8190)