Increase the maximum concurrent threads
About this task
By default, a Tomcat connector allows a maximum of 40 concurrent threads. Guidewire recommends that you set the maximum number of concurrent threads to 200 instead.
Procedure
- In the Tomcat installation directory, find and open file conf/server.xml.
-
Find the
definition for the http connector. It looks similar to the following:
<Connector port="8180" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> -
Add the
maxThreads="200"setting to theConnectordefinition as follows:<Connector port="8180" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" maxThreads="200" /> - Save server.xml.
- Restart Tomcat to make these changes effective.
