I've got an installation of Tomcat 5.5, Apache 2.0.52 and mod_jk 1.2.8.so. We have a java app running on this server that I'm running a few jmeter tests on. To my discovery the number of threads under the jk-8009 connector doesn't seem to disaspear after they been used and instead changing their status to keepalive. I've set the ajp13w.socket_timeout value to 10 seconds but they stay there until I restart Apache. Changing the timeout value doesn't seem to have any affect unless I set it to =1. First I thought that Jmeter was still holding on to these threads but after restarting my computer and logging in to the Tomcat manager all the threads were still there.
Has anyone else experienced similiar problems with mod_jk and Tomcat.