tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Trouble with connection timeout settings
Date Wed, 02 Feb 2011 15:26:51 GMT
On 02/02/2011 15:22, laredotornado wrote:
> 
> Hi,
> 
> We're using Tomcat 6.0.24.  We would like Tomcat to kill stuck threads after
> a certain period of time, but Tomcat doesn't appear to be doing this. 
> Specifically, when the database doesn't return results, the connections just
> build up.  Here are our settings in workers.properties

They won't help with this problem. You need to set timeouts on your
database connections. Better still, fix whatever is causing those
database queries to take so long.

Mark

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


Mime
View raw message