'All threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status' Due to High Volume Transactions

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

On Confluence instances with many concurrent users, the following error may appear in the catalina.out log file:

SEVERE: All threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status

Cause

A large number of concurrent users are using all of the available threads.

Resolution

Note that this may be the sign of a poorly performing system with hung threads. Check Common causes for Jira Server crashes and performance issues for a root cause diagnosis. 

If you're running a high-load installation of Confluence, increase the number of maxThreads in your server.xml file:

From 150:

        <Connector port="8080" maxHttpHeaderSize="8192"
                   maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
                   enableLookups="false" disableUploadTimeout="true"
                   URIEncoding="UTF-8"/>

To 200 or greater:

        <Connector port="8080" maxHttpHeaderSize="8192"
                   maxThreads="200" minSpareThreads="25" maxSpareThreads="75"
                   enableLookups="false" disableUploadTimeout="true"
                   URIEncoding="UTF-8"/>

The higher you increase the maxThreads, the more resources your Confluence instance will consume.

Last modified on Feb 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.