Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-10006

Tomcat Config: Increase *maxActive* database pool connection limit

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 3.6.2
    • None
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Tomcat defaults the maximum number of DB connections in the pool - maxActive - to 8.

      This should be increased in our included server.xml file to allow for more concurrent connections to the DB - perhaps 20.

      Lack of connections can result in various problems:

      • system hangs - if JIRA locks waiting for another connection to become available

      Further documentation on this setting is available at:

      http://jakarta.apache.org/commons/dbcp/configuration.html

      Example server.xml entry:

      <Resource url="jdbc:jtds:sqlserver://192.168.0.89:1433/polycom" 
      password="jira" 
      name="jdbc/JiraDS" 
      driverClassName="net.sourceforge.jtds.jdbc.Driver" 
      type="javax.sql.DataSource" 
      auth="Container"
      username="jira"
      maxActive="20">
      </Resource>
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              keith@atlassian.com Keith Brophy
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h Original Estimate - 1h
                  1h
                  Remaining:
                  Time Spent - 0.5h Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - 0.5h Remaining Estimate - 1h
                  0.5h