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

  1. In the Tomcat installation directory, find and open file conf/server.xml.
  2. Find the definition for the http connector. It looks similar to the following:
    <Connector port="8180" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443" />
  3. Add the maxThreads="200" setting to the Connector definition as follows:
    <Connector port="8180" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443"
               maxThreads="200" />
  4. Save server.xml.
  5. Restart Tomcat to make these changes effective.