aspose file tools
The moose likes Tomcat and the fly likes how to increase max thread size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to increase max thread size" Watch "how to increase max thread size" New topic
Author

how to increase max thread size

Maya Pillai
Ranch Hand

Joined: Jul 17, 2008
Posts: 60
Hi,

Please find the below error report

INFO: Processing a 'POST' for path '/Sheduler'
Jan 5, 2009 3:22:52 PM org.apache.struts.action.RequestProcessor process
INFO: Processing a 'GET' for path '/Sheduler'
Jan 5, 2009 3:23:23 PM org.apache.struts.action.RequestProcessor process
INFO: Processing a 'GET' for path '/Sheduler'
Jan 5, 2009 3:26:11 PM org.apache.tomcat.util.threads.ThreadPool logFull
SEVERE: All threads (150) are currently busy, waiting. Increase maxThreads (150)
or check the servlet status

How to increase the max thread size?Please help me to solve this issue.

Thanks.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
Search for "maxThreads" in the TOMCAT_HOME/conf/server.xml file. You will need to restart Tomcat after editing the file.

However, 150 is quite a few already. Are you certain that there isn't a problem that prevents request threads from terminating quickly? "Checking the servlet status" -as that message suggest- seems a good first step.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to increase max thread size
 
It's not a secret anymore!