Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6914

Change default sizes of HTTP and DB pools

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Database
    • Labels:
      None

      Description

      Previous defaults of sizes of HTTP and DB pools were 50. That's not correct as some DB connections are used in the background (sending of email notifications, compute engine and others).

      Recommended settings are: size(DB) ~= 1.2 * size(HTTP)

      So default size of DB pool must be increased to 60 :

      sonar.jdbc.maxActive=60
      sonar.web.http.maxThreads=50
      

      Be careful that HTTP and HTTPS are two different pools. When enabling both, then size(DB) = 1.2 * (size(HTTP) + size(HTTPS)) :

      sonar.jdbc.maxActive=120
      sonar.web.http.maxThreads=50
      sonar.web.https.maxThreads=50
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                simon.brandhof Simon Brandhof
                Reporter:
                simon.brandhof Simon Brandhof
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: