Apache Tomcat: Please increase maxThreads error and solution

Posted on in Categories , last updated September 19, 2006

Q. I am getting following error:

…All threads are busy, waiting. Please increase maxThreads or check the servlet status…
How do I fix this problem?

A. You need to setup a higher value for maxProcessors in Tomcat’s server.xml file. Open the file:

# vi server.xml

Set the maxProcessor value to 500 or something higher as per your requirement. Restart the Apache/Tomcat to take effect.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Leave a Comment