I'm having a problem where requests through apache
work for a while, but then eventually get hung up at
"wc_maintain::jk_worker.c (301): Maintaining worker
app01".

I'm using Apache 2.0.55 (worker mpm), mod_jk 1.2.15
and Tomcat 5.5.15 on Redhat Enterprise Linux v4.

I am really stuck here, and would appreciate any
assistance anyone can provide.

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
JkShmFile jk.shm
JkMount /*.jsp app01
JkMount /servlet/* app01
JkMount /services/* app01

Here's my worker settings:
---------------
worker.list=app01
worker.app01.type=ajp13
worker.app01.host=10.0.0.9
worker.app01.port=8009
worker.app01.socket_keepalive=1
worker.app01.recycle_timeout=300

Here's a log to show what happens:

First, here's the end of the last request that went
through successfully.  Then I show how the next
request gets stuck (and all subsequent requests are
stuck as well):

#############################################
<snip>
[Wed Feb 22 01:40:09 2006] [17180:22880] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1037): 03e0    20 66 61 6C 73 65 3B 22 3E 63 6C 69 63
6B 69 6E  - .false;">clickin
[Wed Feb 22 01:40:09 2006] [17180:22880] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1037): 03f0    67 20 68 65 72 65 3C 2F 61 3E 2E 3C 2F
74 64 3E  - g.here</a>.</td>
[Wed Feb 22 01:40:09 2006] [17180:22880] [debug]
ws_write::mod_jk.c (412): written 5416 out of 5416
[Wed Feb 22 01:40:09 2006] [17180:22880] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1037): received from ajp13 pos=0 len=2 max=8192
[Wed Feb 22 01:40:09 2006] [17180:22880] [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  - ................
[Wed Feb 22 01:40:09 2006] [17180:22880] [debug]
ajp_done::jk_ajp_common.c (2074): recycling connection
cache slot=0 for worker app01
[Wed Feb 22 01:40:09 2006] [17180:22880] app01
web01.girlmadness.com 0.308543 GET /index.jsp
[Wed Feb 22 01:40:09 2006] [17180:22880] [debug]
jk_handler::mod_jk.c (1969): Service finished with
status=200 for worker=app01
#############################################

So far so good.  Now the next request comes through
almost 5 minutes later, and gets stuck:

#############################################
[Wed Feb 22 01:44:55 2006] [17181:22880] [debug]
map_uri_to_worker::jk_uri_worker_map.c (449):
Attempting to map URI '/index.jsp' from 3 maps
[Wed Feb 22 01:44:55 2006] [17181:22880] [debug]
map_uri_to_worker::jk_uri_worker_map.c (461):
Attempting to map context URI '/services/*'
[Wed Feb 22 01:44:55 2006] [17181:22880] [debug]
map_uri_to_worker::jk_uri_worker_map.c (461):
Attempting to map context URI '/servlet/*'
[Wed Feb 22 01:44:55 2006] [17181:22880] [debug]
map_uri_to_worker::jk_uri_worker_map.c (461):
Attempting to map context URI '/*.jsp'
[Wed Feb 22 01:44:55 2006] [17181:22880] [debug]
map_uri_to_worker::jk_uri_worker_map.c (475): Found a
wildchar match app01 -> /*.jsp
[Wed Feb 22 01:44:55 2006] [17181:22880] [debug]
jk_handler::mod_jk.c (1839): Into handler
jakarta-servlet worker=app01 r->proxyreq=0
[Wed Feb 22 01:44:55 2006] [17181:22880] [debug]
wc_get_worker_for_name::jk_worker.c (111): found a
worker app01
[Wed Feb 22 01:44:55 2006] [17181:22880] [debug]
wc_maintain::jk_worker.c (301): Maintaining worker
app01
#############################################

All requests after it are stuck as well.

Restarting Apache fixes it, until it eventually
happens again.

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]

Reply via email to