Bamboo out of disk space, high inode usage

We have a Bamboo instance that keeps saying it is out of disk space. A df shows there is still plenty of space left on the partition. I believe what is going on is Bamboo writes a lot of files to disk for each build (depending on the project size of course) and we are running out of inodes. A "df -i" shows that indeed the partition where bamboo home is located is out of inodes and thus Bamboo can't write anything else to disk. Anyone run into this issue?

I'm aware of the expiry setting in Bamboo and I have this set to a pretty low number http://blogs.atlassian.com/2012/06/bamboo-build-artifact-log-expiry/

Bamboo: 5.4.2

OS: CentOS release 6.4

2 answers

1 accepted

Accepted Answer
0 votes

Hi Felipe,

Thank you for the response. It turns out that the partition bamboo home was sitting on was dynamically resized using a VMware product. I'm suspecting this was the reason the inode count was low compared to the increase in disk space. My understanding is that the inode count can only be set during disk formatting and never be changed after the fact, so I'm guessing the resize using the VMware product doesn't dynamically add any more inodes. I wasn't able to verify this from online sources but that's what I'm guessing was the case.

To resolve the issue, we created a new partition, moved xml-data to the new partition. Then we simply softlink'd it to the old home location.

0 votes

Hi Jose,

Can you navigate to the Miscellaneous tab of your job configurations and check the option Clean working directory after each build. This will clear the local copy of the repository available at /path/to/bamboo-home/xml-data/build-dir before each build. Please note that this may increase the time taken to run a build but will save space.

Kind regards,
Felipe Kraemer
Atlassian Support

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

461 views 0 9
Read article

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