Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo Startup Time

Kyle Varga January 26, 2014

Bamboo takes over 30 minutes to startup, it appears that it is loading all builds into the JVM Cache. This seems like a not-great thing todo. Is there any way to configure this to use a redis/memcached or decrease the amount of caching?

2 answers

1 accepted

0 votes
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 26, 2014

275 - that's not much - any plan branches?

Yes, disabled plans also get loaded.

Kyle Varga January 27, 2014

Instance statistics

Number of plans 60991

Number of builds (approx) 7866

Full reindex time (approx) 6 minutes

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 27, 2014

over 60K plans. That looks suspicious. Which Bamboo version are you on and does this number keep growing "on its own"?

Kyle Varga January 27, 2014

It seems to be growing "on its own".

Number of plans 61082

Number of builds (approx) 8009

Full reindex time (approx) 6 minutes

We are currently running Bamboo 5.1.

roy_lyons
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2014

Check to see if you have a variable set for the git repository url in one of your plans that has automatic branching turned on. Thats what did it to mine!

Daniel Wester
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2014

Are you using Plan Branches? In particular is there a set of build plans that have a lot of branches?

Kyle Varga January 27, 2014

We are. I just found a bug that is fixed in 5.1.1 (we are running 5.1.0 until tonight) that has some sort of infinite loop if the branch names contains a comma. Most likely the cause, hope to clean this all out and see how much it improves load time.

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 27, 2014

Yeah, that bug is the reason why I've asked about growth and Bamboo version.

Once you upgrade, the branches coung will stop growing, but the old ones will still be there.

You can try enabling branch expiry on the affected plans to have Bamboo remove the automatically. It's a lot to remove though.

Kyle Varga January 27, 2014

There is some steps to help cleanout the old branches in the bug ticket that I will attempt to follow tonight.

Adam Pryce December 6, 2017

How can we obtain these kind of instance statistics? We are dealing with a similar problem, but we aren't sure how to take that heartbeat.

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 26, 2014

Unfortunately not. We are aware of the problem though and we are investigating possible approaches to reducing it.

30 minutes seems like a lot though - how many plans do you have?

Kyle Varga January 26, 2014

275 Build Plans. Do disabled plans also get loaded into memory?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events