Apache Tomcat: Please increase maxThreads error and solution

last updated in Categories ,

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, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 0 comments/add one below):