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

This widget could not be displayed.

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.

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 6 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

13 views 0 0
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