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

Bamboo: 5.4.2

OS: CentOS release 6.4

2 answers

1 accepted

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 vote

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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,096 views 0 5
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot