Hello, I posted a couple of other threads with no replies. I realize this is a complicated problem, but I would really, really be thankful for any help.
Though I seem to have gotten rid of some of the previous problems I was having with mod_jk requests getting frozen (by getting rid of the recycle_timeout, socket_keepalive and socket_timeout settings), I'm still having problems. PROBLEM SCENARIO: 1. Client has its requests go through for a while. (Apache keepalive is true, so it keeps open a connection.) 2. Client is idle for a while. 3. Client's next request after being idle for a while SOMETIMES gets stuck after we redirect the client's request. Below is a mod_jk log of the stuck redirect request. We receive it, but it seems to be getting stuck in mod_jk on "request body to send 0 - request body to resend 0". (Though we've had it get stuck in other places, like "maintaining worker".) If the client then resubmits the EXACT same request, it goes through. As I mentioned in the other two threads over the last few days, the client first does a POST, then the server redirects the POST to a GET. The POST always goes through. The GET sometimes gets stuck. Here's the end of the client's POST (which is to tell it to redirect): ##################################### <SNIP> [Sat Feb 25 17:27:27 2006] [19074:14688] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 0070 4F 2D 38 38 35 39 2D 31 00 00 0E 43 6F 6E 74 65 - O-8859-1...Conte [Sat Feb 25 17:27:27 2006] [19074:14688] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 0080 6E 74 2D 4C 65 6E 67 74 68 00 00 01 30 00 00 00 - nt-Length...0... [Sat Feb 25 17:27:27 2006] [19074:14688] [debug] ajp_unmarshal_response::jk_ajp_common.c (621): status = 302 [Sat Feb 25 17:27:27 2006] [19074:14688] [debug] ajp_unmarshal_response::jk_ajp_common.c (628): Number of headers is = 3 [Sat Feb 25 17:27:27 2006] [19074:14688] [debug] ajp_unmarshal_response::jk_ajp_common.c (684): Header[0] [Location] = [http://www.sitemadness.com/index.jsp] [Sat Feb 25 17:27:27 2006] [19074:14688] [debug] ajp_unmarshal_response::jk_ajp_common.c (684): Header[1] [Content-Type] = [text/html;charset=ISO-8859-1] [Sat Feb 25 17:27:27 2006] [19074:14688] [debug] ajp_unmarshal_response::jk_ajp_common.c (684): Header[2] [Content-Length] = [0] [Sat Feb 25 17:27:27 2006] [19074:14688] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1037): received from ajp13 pos=0 len=2 max=8192 [Sat Feb 25 17:27:27 2006] [19074:14688] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 0000 05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ................ [Sat Feb 25 17:27:27 2006] [19074:14688] [debug] ajp_done::jk_ajp_common.c (2074): recycling connection cache slot=1 for worker app01 [Sat Feb 25 17:27:27 2006] [19074:14688] app01 www.sitemadness.com 0.008015 POST /index.jsp [Sat Feb 25 17:27:27 2006] [19074:14688] [debug] jk_handler::mod_jk.c (1969): Service finished with status=302 for worker=app01 ##################################### Now here's the resulting redirect GET that gets stuck: ##################################### [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI '/index.jsp' from 3 maps [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/services/*' [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/servlet/*' [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*.jsp' [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] map_uri_to_worker::jk_uri_worker_map.c (475): Found a wildchar match app01 -> /*.jsp [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] jk_handler::mod_jk.c (1839): Into handler jakarta-servlet worker=app01 r->proxyreq=0 [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] wc_get_worker_for_name::jk_worker.c (111): found a worker app01 [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] wc_maintain::jk_worker.c (301): Maintaining worker app01 [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] init_ws_service::mod_jk.c (531): Service protocol=HTTP/1.1 method=GET host=(null) addrr=68.125.183.79 name=www.sitemadness.com port=80 auth=(null) user=(null) laddr=64.62.148.62 raddr=68.125.183.79 [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] ajp_get_endpoint::jk_ajp_common.c (2131): acquired connection cache slot=0 [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] ajp_marshal_into_msgb::jk_ajp_common.c (566): ajp marshaling done [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] ajp_service::jk_ajp_common.c (1670): processing with 3 retries [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (909): sending to ajp13 pos=4 len=569 max=8192 [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (909): 0000 12 34 02 35 02 02 00 08 48 54 54 50 2F 31 2E 31 - .4.5....HTTP/1.1 [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (909): 0010 00 00 0A 2F 69 6E 64 65 78 2E 6A 73 70 00 00 0D - .../index.jsp... [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (909): 0020 36 38 2E 31 <SNIP> [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (909): 0210 38 43 39 33 34 42 42 33 42 41 42 35 32 43 33 35 - 8C934BB3BAB52C35 [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (909): 0220 33 33 41 42 38 31 36 37 32 38 32 2E 61 70 70 30 - 33AB8167282.app0 [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (909): 0230 31 00 A0 08 00 01 30 00 FF 00 00 00 00 00 00 00 - 1.....0......... [Sat Feb 25 17:27:27 2006] [19130:59744] [debug] ajp_send_request::jk_ajp_common.c (1261): request body to send 0 - request body to resend 0 ##################################### That's it, it's stuck. If the client does the POST again, the GET redirect will go through the second time. Everything then works for a while, until the client is idle again. We would really appreciate any suggestions or advice. The web server is running 64bit Apache 2.0.55, Redhat Enterprise Linux v4 WS and mod_jk 1.2.15. Tomcat is 5.5.15 Here's my JK settings: --------------- JkWorkersFile "/usr/local/apache2/conf/workers.properties" JkRequestLogFormat "%w %V %T %m %U%q" JkLogFile "/usr/local/apache2/logs/access/mod_jk.log" JkLogLevel debug JkMount /*.jsp app01 JkMount /servlet/* app01 JkMount /services/* app01 JkShmFile jk.shm Here's my worker settings: --------------- worker.list=app01 worker.app01.type=ajp13 worker.app01.host=10.0.0.9 worker.app01.port=8009 Thanks, -Michael __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]