Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-32970

server.xml contains incorrect parameters for threads in the default connector

XMLWordPrintable

      We currently ship Confluence with Tomcat 6, but the default connector still references maxProcessors. This attribute was deprecated in Tomcat 5.5 and no longer exists in Tomcat 6.

      Instead, to control the number of threads that the application can use, you need to specify maxThreads.

      References:
      http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html
      http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
      http://grokbase.com/t/tomcat/users/065aw5k4a8/maxthreads-compared-to-maxprocessors

      Default connector:

      <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="10542" 
            minProcessors="5" maxProcessors="75"
            enableLookups="false" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000"
            useURIValidationHack="false" URIEncoding="UTF-8"/>
      

            ple Phong Quoc Le (Inactive)
            dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: