I have here a jboss with a web application. The tomcat is configured to use the ajp connector.
Incoming connections are tunneled via an apache reverse proxy to the connector.
Now I recognized that under heavy load the connector keeps a bunch of connections in "keep alive" mode for eternity and doesn't release them any more.
With the normal HTTP connector the app did well, but now with the ajp connector we have regular app stallments.
Can someone give me some advice where to start to look to resolve this issue? Why does the connector not release the connection again after idling for 300 secs?
thanks,
chris
Best Answer
take a look at the documentation of the ajp connector:
the http connector instead has a default timeout of 60 seconds:
so change the
connectionTimeout
value to a value matching your environment. but be sure to synchronize the value with theconnection_pool_timeout
value or equivalent as explained in this documentation