Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does SonarQube 6.0 temp folder have large amount of old data in it (36GB total)?

Our SonarQube 6.0 instance has a "sonarqube-6.0/temp/ce" folder than contains 35.9GB of data. The oldest data in that folder is almost 3 months old. A graph of disk space usage over time is shown below.

sonarqube disk space usage

This post suggests that this was fixed in SonarQube 5.1.2, and this post says that it's fixed in SonarQube 5.2. We are running SonarQube 6.0.

How can I configure SonarQube to automatically cleanup the temp directory to remove unnecessary files so that the server doesn't run into disk space issues?

like image 710
ASnyder Avatar asked Oct 30 '22 04:10

ASnyder


1 Answers

Based on the 'C: Label' in your screenshot this seems to be running on Windows OS. If so you may be impacted by:

  • SONAR-9734 - temp storage grows on Windows due to cache under temp/ce not cleaned up
like image 77
Nicolas B. Avatar answered Dec 06 '22 19:12

Nicolas B.