Bamboo Startup Time

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
Accepted answer

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

Yes, disabled plans also get loaded.

Instance statistics

Number of plans 60991

Number of builds (approx) 7866

Full reindex time (approx) 6 minutes

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

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.

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 Community Champion Jan 27, 2014

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

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.

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.

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

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

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?

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

31 views 2 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you