Confluence
  1. Confluence
  2. CONF-13446

minProcessors/maxProcessors are deprecated

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Resolution: Answered
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Last commented by user?:
      true

      Description

      In Tomcat 5.5 AJP connector doc, both the minProcessors and maxProcessors are deprecated. The HTTP connector doc does not include any of the option too.
      However, the default options available in a conf/server.xml file of a Confluence standalone instance possess the following:

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

      Please consider replacing the options with:

      maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
      

        Issue Links

          Activity

          Hide
          Daniel Harvey added a comment - - edited

          Also, the className attribute does not appear to be documented for Tomcat/6.0.14 (Confluence 3.2.1_01 standalone).

          Should be straightforward to fix this?

          Show
          Daniel Harvey added a comment - - edited Also, the className attribute does not appear to be documented for Tomcat/6.0.14 (Confluence 3.2.1_01 standalone). Should be straightforward to fix this?
          Hide
          Daniel Harvey added a comment -

          Additionally, the useURIValidationHack attribute appears to be a Tomcat 4 thing as well...

          Show
          Daniel Harvey added a comment - Additionally, the useURIValidationHack attribute appears to be a Tomcat 4 thing as well...
          Hide
          Dennis Benzinger | hybris GmbH added a comment -

          Confluence 3.5.7 still has the same problem. And according to http://tomcat.apache.org/tomcat-6.0-doc/config/http.html className, debug and useURIValidationHack are old too.

          Show
          Dennis Benzinger | hybris GmbH added a comment - Confluence 3.5.7 still has the same problem. And according to http://tomcat.apache.org/tomcat-6.0-doc/config/http.html className , debug and useURIValidationHack are old too.
          Hide
          Dennis Benzinger | hybris GmbH added a comment -

          IIUC minSpareThreads and maxSpareThreads are gone too. minSpareThreads can now be configured on the Executor element.

          Show
          Dennis Benzinger | hybris GmbH added a comment - IIUC minSpareThreads and maxSpareThreads are gone too. minSpareThreads can now be configured on the Executor element .
          Hide
          Bill Arconati [Atlassian] added a comment -

          Thank you for raising this issue. While I can see how this feature would be useful, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Thanks again for your idea.

          Show
          Bill Arconati [Atlassian] added a comment - Thank you for raising this issue. While I can see how this feature would be useful, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Thanks again for your idea.

            People

            • Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last commented:
                19 weeks, 5 days ago