Temporary folder takes a lot of space in the operating system running Bamboo remote agents
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
At times the operating system /tmp folder can get really large in size with files created by Bamboo causing issues with running your agents as your disk may run out of space.
Bamboo remote agents
- Run multiple builds on your remote agents.
- Monitor your operating system temporary folder.
The agent java process uses the default operating system temporary folder to store temporary files created by the build processes. By default the plan key is added as a sub folder to the default operating system temporary folder. In addition, some of the third party add-ons will also use the that folder to store files that are needed for the agent to run their builds.
The clean up of this folder is defined by the operating system and depending on your linux distribution this will happen at different intervals
These intervals should be configurable and the exact details on how to change the clean up period may depend on your operating system and Linux distribution. Alternatively, you can move this data to a place with more space if you needed. To do so, please follow the steps on this article: How to configure temporary directory in Bamboo remote agent.
Note, that it is safe to delete the files manually or have an automation that will delete those files at your desired times.