tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramdas.He...@seagate.com
Subject connectionTimeout and reusing Tomcat threads
Date Fri, 28 Jul 2006 19:03:09 GMT

 Hello

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 workers.properties that i could
specify to make sure mod_jk reuses these connections.

Thanks



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message