How to increase Bamboo Specs detection pool size
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
要約
At times, plans that run on Bamboo Specs have a large backlog of scans to run and need to increase the pool size.
環境
- Bamboo with repository-stored Specs enabled.
- Applicable to all versions of Bamboo.
ソリューション
By default, the specs.detection.thread
is set to 4. To increase the pool size follow the steps below:
- Edit your
setenv.sh
file under path<bamboo-install>/bin/setenv.sh
Add the following
-Dbamboo.specs.detection.threads=6
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.specs.detection.threads=6"}
Increase the thread pool size based on load factors and need, as advised by Atlassian Support.