Details
-
Bug
-
Resolution: Fixed
-
High
-
6.0.0
-
Severity 2 - Major
-
Description
Summary
Plans are receiving Bitbucket pull requests, generating high CPU usage
Environment
Behaviour found in Bamboo 6 and Bitbucket 5.0.
Steps to Reproduce
- Create Application Link with Bitbucket server.
- Problem starts as soon as Bamboo is started.
Expected Results
Normal behaviour.
Actual Results
Pull requests every ~100ms, even when no triggers are configured:
Log entries:
2017-05-17 10:29:55,799 DEBUG [6-PullRequestDetectionBackgroundThread:pool-12-thread-1] [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan1 2017-05-17 10:29:55,799 DEBUG [6-PullRequestDetectionBackgroundThread:pool-12-thread-1] [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan1 2017-05-17 10:29:55,799 DEBUG [6-PullRequestDetectionBackgroundThread:pool-12-thread-1] [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan1 2017-05-17 10:29:55,799 DEBUG [6-PullRequestDetectionBackgroundThread:pool-12-thread-1] [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan1 2017-05-17 10:29:55,799 DEBUG [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan2 2017-05-17 10:29:55,799 DEBUG [6-PullRequestDetectionBackgroundThread:pool-12-thread-1] [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan1 2017-05-17 10:29:55,800 DEBUG [6-PullRequestDetectionBackgroundThread:pool-12-thread-1] [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan1 2017-05-17 10:29:55,800 DEBUG [6-PullRequestDetectionBackgroundThread:pool-12-thread-1] [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan1 2017-05-17 10:29:55,800 DEBUG [6-PullRequestDetectionBackgroundThread:pool-12-thread-3] [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan2 2017-05-17 10:29:55,800 DEBUG [6-PullRequestDetectionBackgroundThread:pool-12-thread-3] [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan2 2017-05-17 10:29:55,800 DEBUG [6-PullRequestDetectionBackgroundThread:pool-12-thread-3] [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan2 2017-05-17 10:29:55,800 DEBUG [6-PullRequestDetectionBackgroundThread:pool-12-thread-3] [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan2 2017-05-17 10:29:55,800 DEBUG [6-PullRequestDetectionBackgroundThread:pool-12-thread-3] [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan2 2017-05-17 10:29:55,800 DEBUG [6-PullRequestDetectionBackgroundThread:pool-12-thread-3] [BitbucketServerPullRequestDetector] Fetched 0 open PRs from Plan2
Notes
Workaround
Option #1. Disable branch detection altogether
- Start Bamboo with atlassian.bamboo.branch.detection.disable system property set to true.
Option #2. This problem can be controlled by changing the branch detection interval:
- Overview -> Settings -> General configuration: Field "Branch detection interval".
- The default value is 300s. Try increasing it gradually (say 100s) until the problem is controlled.
Attachments
Issue Links
- has action
-
BDEV-13316 Loading...