Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-14665

maxSpareThreads should be removed from the connector configuration of tomcat

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 5.7.0
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      In the server.xml file, we have a settings for maxSpareThreads which is currently set to 75. According to the tomcat 5.5 docs, the value is defined as thus:

      The maximum number of unused request processing threads that will be allowed to exist until the thread pool starts stopping the unnecessary threads. The default value is 50.

      Now starting from tomcat 6, the parameter is being deprecated and such leaving it will just throw warnings in the logs:

      Jun 03, 2014 5:18:10 PM org.apache.catalina.startup.SetAllPropertiesRule begin
      WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '75' did not find a matching property.
      Jun 03, 2014 5:18:11 PM org.apache.catalina.core.StandardContext setPath
      

      Since Bamboo is now bundled with tomcat 7, this can safely be removed.

      Attachments

        Issue Links

          Activity

            People

              pbruski Przemek Bruski
              smaiyaki Sultan Maiyaki (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: