The traditional way to handle this is to set connectionTimeout="300000" (the actual value will vary depending on your system :). This will recycle the thread if no Apache child talks to it for 5min.
Usually a better solution with 5.5.x is to use the APR or NIO AJP Connector. These allows for Tomcat to maintain the Socket connection to a large number of Apache children, without committing Threads to them until it actually recieves a request. "Ian Hunter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I have an application that queries Tomcat quite frequently (more than once > a minute) for status updates. I also have a potentially high number of > clients -- more that the number of threads configured for connectors. > Also, I'm using port 8009 for an AJP connector from Apache. > > OK, that's all fine, here's my problem: the clients are all requesting > keepalives, and if there are more clients than threads, that's very bad. > I need to totally disable keepalives, but I cannot figure out how to > disable keepalives for the AJP connector. There's nothing in server.xml, > and I've tried KeepAlive Off in httpd.conf s well as > Jkworker.property.appname.KeepAlive Off. > > Help?!?! > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]