Hi,

We've been having this issue with tomcat that sporadically hangs once in a
while (startet happening just after an apache was put up front, so I'm not
quite sure if this is the correct list)

Symptoms:
Sporadically, Tomcat will hang on a request to a servlet. It will hang for
exactly 5 minutes (default timeout from tomcat) .
When the server hangs, no information is available in any log. It looks like
the servlet isn't being triggered at all.
After the timeout, tomcat returns 503 to apache, the flash application then
retries and everything looks fine(output from apache log below)
[31/May/2008:11:08:33 +0200] "GET
/services/page?action=getPage&replyType=1&name=navigation&locale=en_UK
HTTP/1.1" 503 432
[31/May/2008:11:13:33 +0200] "GET
/services/page?action=getPage&replyType=1&name=navigation&locale=en_UK
HTTP/1.1" 200 12472

Oddities:
The pages they occur on are really simple. They basically fetch an XML file,
merges it with some translations from the database and returns it.
Occurs more often when handling Firefox requests than Explorer requests.
Often I catch this when debugging using Charles Proxy. While the previous
request is hanging and I use the "repeat" option in Charles, it fetches the
exact same request just fine. If I copy the URL and paste
it into firefox, it hangs.
The server isn't very busy at the moment, so I really doubt worker threads
are bussy.

Setup:
Redhat Enterprise 4
Apache 2.2.8
Apache Tomcat 5.5.26
requests are proxied to Tomcat through mod_proxy_ajp

AJP configuration:
RewriteEngine on
RewriteRule (^.*\.jsp.*) ajp://localhost:8009$1 [P]
RewriteRule (^.*/services/.*) ajp://localhost:8009$1 [P]

I hope this makes sense to anyone:)

Best regards

Lars Hansen

Reply via email to