tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Recover from SEVERE: All threads (400) are currently busy, waiting. Increase maxThreads (400) or check the servlet status
Date Tue, 06 Apr 2010 12:54:22 GMT
On 06/04/2010 13:03, kapilok wrote:
> 
> I need to restart tomcat after the error:
> Recover from SEVERE: All threads (400) are currently busy, waiting. Increase
> maxThreads (400) or check the servlet status
> 
> This happens when the Database gets overloaded and responds slowly.
> 
> I would like tomcat to recover (without having to restart), once I have
> solved the database overload issue (which takes a few minutes).
> 
> I am using Tomcat 5.5.20 on Windows Server 2003.
> 
> Please advise.

Tomcat shouldn't need to restart in this case. It should recover
automatically. If it doesn't, that suggests your applciation is not
handling the lack of response from the database in a graceful manner.

Mark



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


Mime
View raw message