Documentation Home
MySQL Enterprise Monitor 4.0 Manual
Related Documentation Download this Manual

9.3 Tuning Apache Tomcat Threads

When monitoring with a large number of Agent processes deployed, the default number of threads that are created within the Apache Tomcat server may not be sufficient. By default, it is configured to create 150 threads to communicate with the HTTPS port.

This is configured with the maxThreads setting within the server.xml configuration file*:

Table 9.5 Apache Tomcat configuration file location (default)

Operating System Path

Microsoft Windows

C:\Program Files\MySQL\Enterprise\Monitor\apache-tomcat\conf\server.xml

Linux / Unix


Mac OS X


The following section should be modified:

<Connector port="18443" 
  protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"
  maxThreads="150" minSpareThreads="25" maxSpareThreads="75"


A good baseline to test would be the number of Agents that you have checking in to the Service Manager plus 50. For example if you have 150 Agents checking in, set the maxThreads variable to 200.


* We list default paths to configuration files and tools, so adjust according to where the Service Manager was installed on your system.

User Comments
Sign Up Login You must be logged in to post a comment.