You mean set timeouts at the database level? What if the Tomcat thread is
hung for some other reason? Is there any setting that will cause Tomcat to
kill a thread if that thread is "stuck"? - Dave
Mark Thomas wrote:
>
> 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
>
>
>
--
View this message in context: http://old.nabble.com/Trouble-with-connection-timeout-settings-tp30826944p30827517.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|