Bug 50692

Summary: Improve log message in ThreadPool.logFull
Product: Tomcat 6 Reporter: Konstantin Kolinko <knst.kolinko>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: P2    
Version: 6.0.30   
Target Milestone: default   
Hardware: PC   
OS: Windows XP   

Description Konstantin Kolinko 2011-01-31 07:42:52 UTC
org.apache.tomcat.util.threads.ThreadPool#logFull(..) prints the following message:

Jan 28, 2011 10:43:16 AM org.apache.tomcat.util.threads.ThreadPool logFull SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads (200)
or check the servlet status 

From the message it is not clear, what pool was exhausted. It might be that there are several connectors in the configuration.

It would be better to assign name to the pool (the #setName() method already exists there) and to print that name.

At least it is possible to print a stack trace: that will provide some information.

For reference:
http://markmail.org/thread/ytfqiowlm7vz2jxg
Comment 1 Mark Thomas 2017-04-07 14:22:18 UTC
This code doe snot exist beyond Tomcat 6.0.x and 6.0.x. has reached EOL.