Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

bamboo server huge temporary directory

Nikola_Toshkov August 13, 2024

Hi can someone explain why is the 

 

Temporary directory C:\Atlassian-bamboo\Bamboo\temp grown to about  180GB ?

And how safe is it to delete it completely currently finding mixed opinion on the case...

2 answers

3 votes
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 13, 2024

Hello @Nikola_Toshkov

Welcome to Atlassian Community!

Large temporary directories are a symptom of builds running in local agents, which may be using the temporary folder to store data that is not being removed after builds are finished.

It is usually safe to stop the application and clean up that folder, but be mindful that your builds may require content that is present in that location and force that to be recreated, which may impose a slowdown on your pipelines.

Cheers,

 

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

 

Nikola_Toshkov August 13, 2024

Honestly very green at this, is there something i can ask the developers to add to their plans to clean up after their builds, or something i can change in the bamboo configuration ?

2 votes
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 13, 2024

Hello Nikola,

Welcome to Atlassian Community.

Bamboo places some temporary files in this location for example during the source code checkout task it will create a temporary .bat or .sh file and it would be removed post the task completion.

Ideally this location should not contain files amounting to 180 GB, in my opinion you can cleanup this directory, but make sure you have stopped your Bamboo Instance while you are doing it.

BTW have you looked at the content of these files and when were these created/modified?

There was a feature request raised to clean this up automatically but it was never implemented, https://jira.atlassian.com/browse/BAM-8521

Regards,

Shashank Kumar

**please don't forget to Accept the answer if your query was answered**

Nikola_Toshkov August 13, 2024

Hi yes most of them are ~18mb, folders named  "binary-number" -> binary with a folder plugins with few .jar from pluings xray and jira and allure reports?

 

Allure Report

 

Configure Allure Reporting 

in the config all are checked[\/]
Download if no executable present
Enable report custom logo
Build Allure for all builds by default
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 13, 2024

Hello Nikola,

This is coming from the External plugin Installed in your Bamboo Instance, https://marketplace.atlassian.com/apps/1217177/allure-report-for-bamboo?tab=overview&hosting=datacenter.

Probably you'll need to check the settings for this plugin and check why the files are being generate in /tmp location and can it be changed. 

Regards,

Shashank kumar

 

Nikola_Toshkov August 13, 2024

A little digging turns out it has about 150k folders ~17mb containing plugins .jar not just allure, still looking around at the settings what is causing it :plugins.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events