The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bamboo losing Stash authentication - performance hit after restart

Todd Ellner
Contributor
June 8, 2015

We use Bamboo for building and Stash for our Git repository. Over the past month or so we've been seeing increasingly slow performance, especially after server restarts and particularly when listing branches and deployment plans.

At first we thought it was related to the upgrade, the size of the JVM heap or the number of remote agents. It turns out the problem was a little more subtle.

When the server is restarted it loses its Stash authentications, and we see hundreds of errors and a flood of activity as Bamboo re-authenticate. What Bamboo asks for a branch makes matters worse "Save the repository configuration to refresh the authentication details", Instead of using the default setting the branch now has its own, private settings and does its own git request. This means on the order of a hundred git requests every couple minutes. After a while this pushes CPU I/O utilization sky-high and slows the server to a crawl, especially on dynamically-generated content like the afore-mentioned deploy plans and branch listings.

Here are my questions

  1. Is there anyway to automatically detect which branches are using defaults, and which are using this custom/saved setting?
  2. Is there anyway to programmatically get the branches to use the default setting without going through each branch plan by hand?
  3. Is there a way of getting Bamboo to wait after it starts up and send the requests to Stash at some reasonable rate, retry in batches or in some other way avoid the flood of "Errors getting changes for HERP-DIDERP1183-1 This error may have occurred due to an authentication issue with Stash. Save the repository settings to refresh the authentication details.
    (08 Jun 2015, 9:01:36 AM)"

 

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Itay Neeman
November 12, 2015

Todd - did you ever find a solution to this?

0 votes
Krystian Brazulewicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 9, 2015

Todd, please contact our Support to work on this issue.

0 votes
Todd Ellner
Contributor
June 8, 2015

Note: This is at least tangentially related to : https://answers.atlassian.com/questions/11982626

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events