Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ThreadPool: Pool exhausted with 100 threads.

 
Alexandre Folgueras
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there, my company's web site is running on tomcat 3.2.3. A few times a day, the web site freezes for a couple of minutes and during this time I am geting dozens of log messages saying: "ThreadPool: Pool exhausted with 100 threads."

After doing some research on the web, it seems that this is a known bug for tomcat 3.2.3. Unfortunately, upgrading tomcat's version is not an option due to all the impacts.

What I would like to do is to raise the thread pool limit from 100 to say, 200. Since it's hard to find good doc on such an old version of tomcat, I was wondering if anyone here allready done this. Does the modification takes place in the server.xml file? I cant find the property where it says that the maximum number of threads is 100, is this property built-in Tomcat? Here is what I have in this file concerning the connectors:

<Connector className="org.apache.tomcat.service.PoolTcpConnector">
<Parameter name="handler" value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
<Parameter name="port" value="8110"/> </Connector>
<Connector className="org.apache.tomcat.service.PoolTcpConnector">
<Parameter name="handler" value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
<Parameter name="port" value="8100"/>
</Connector>

I would appreciate any kind of help on this and if you have any further information about this bug and/or solutions, please let me know!

Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic