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

Bamboo PlanExec default size could benefit from an increase

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • 9.1.0
    • Performance
    • None
    • 1
    • 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.

      Problem Definition

      Bamboo PlanExec thread pool is defaulted to 4. It has a max size of 8 but it never scales since it has a very large queue size and is linked to a dedupe queue. The thread pool is responsible for executing change detection operations and other parts of the build execution lifecycle.

      4 threads has proven to be insufficient for large instances with a lot of change detection and non-optimal network conditions.

      Suggested Solution

      Slight increase to the initial size. E.g. 5, 6 or 8.

      Utopian solution:
      Scalable thread pool sizes based on load factors and queue drain rate.

      Workaround

      Higher than 8 is not recommended, please monitor Disk IO and CPU increases on the Bamboo Server after increasing this.

      1. Linux: Edit your <bamboo-install>/bin/setenv.sh
      2. Add the following -Dbamboo.plan.exe.threads=8 to your JVM_SUPPORT_RECOMMENDED_ARGS. E.g.
        #
        #  Occasionally Atlassian Support may recommend that you set some specific JVM arguments.  You can use this variable below to do that.
        #
        : ${JVM_SUPPORT_RECOMMENDED_ARGS:="-Dbamboo.plan.exe.threads=8"}
        
      3. Restart Bamboo

            [BAM-20259] Bamboo PlanExec default size could benefit from an increase

            Eduardo Alvarenga made changes -
            Remote Link Original: This issue links to "PSR-801 (Bulldog)" [ 698065 ] New: This issue links to "PSR-801 (JIRA Server (Bulldog))" [ 698065 ]
            Wioletta Dys made changes -
            Resolution New: Done [ 17 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Eduardo Alvarenga made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 707238 ]
            Jan Majkutewicz (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 705715 ]
            Mateusz Szmal made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 704499 ]
            Mateusz Szmal made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 704499 ]
            Mateusz Szmal made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 704489 ]
            Mateusz Szmal made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Mateusz Szmal made changes -
            Fix Version/s New: 9.1.0 [ 102591 ]
            Mateusz Szmal made changes -
            Status Original: Gathering Interest [ 11772 ] New: In Progress [ 3 ]

              851f15845f55 Mateusz Szmal
              jowen@atlassian.com Jeremy Owen
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: