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 10.5 Apache Tomcat configuration file location (default)
Operating System | Path |
---|---|
Microsoft Windows |
|
Linux / Unix |
|
macOS |
|
Edit the following section:
<Connector port="18443"
protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
...
A good baseline to test is 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.