tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Courtney" <ja...@elementalsecurity.com>
Subject RE: Out of Threads error
Date Fri, 04 Aug 2006 19:17:51 GMT
Thanks Tim!

I'd been grepping only *.java files.  Doh!

Jamey
 

-----Original Message-----
From: Tim Funk [mailto:funkman@joedog.org] 
Sent: Friday, August 04, 2006 11:34 AM
To: Tomcat Developers List
Subject: Re: Out of Threads error

For tomcat 5:
find . -type f |xargs grep "Increase maxThreads"
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads/res/L
ocalStrings.properties


-Tim

James Courtney wrote:
> I'm getting this message from my Tomcat 5.0.28 on Linux.
>
> 2006-08-02 21:01:19: ERROR All threads (400) are currently busy, 
> waiting. Increase maxThreads (400) or check the servlet status
>
> Originally I had 200 threads configured and now 400 in an attempt to 
> avoid it.  Either number seems larger than what should be necessary.  
> It seems quite likely that there's an application issue causing all 
> threads to block and accumulate or something so I need to do a kill -3

> next time it happens to try and see what everyone is up to.  That 
> said, I was attempting to grep the Tomcat source code for where this 
> message is logged and thus where I hoped to find and understand better

> the thread manager.  I grepped for "Increase maxThreads", "Increase", 
> and "are currently busy" all to no avail in finding the code doing the
logging.
> Is the code which logs this message part of a dependency library not 
> in the tomcat source tree?  If so, which one please.  I just want to 
> understand the application behavior when the limit is reached.
>   


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


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


Mime
View raw message