tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject connectionTimeout and reusing Tomcat threads
Date Fri, 28 Jul 2006 19:03:09 GMT


I have an application which uses Apache(2.0.53) as the Webserver and
mod_jk(1.2.10) to forward servlet/jsp requests to Tomcat(5.0) as part of
the JBoss container - all running on Linux.
It looks like mod_jk is not reusing the existing connections that it
establishes with the Tomcat resulting in a large number of Tomcat threads
which are in KeepAlive state as reported   by the Tomcat console.
I do not have any timeouts set either on the Apache side or Tomcat side of
the connector.
The JBoss/Tomcat 5.0 document states that the default connectionTimeout
within the AJP 1.3 connector on the Tomcat side is 60 seconds but it does
not seem to be the case.

I am trying to force this connectionTimeout to clean up the large number of
Tomcat threads, but i am not sure if this is the best thing to do.
Is there anything on the Apache side in the that i could
specify to make sure mod_jk reuses these connections.


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message