Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Clearing Logs and Temporary files.

Mohit Dhir
Contributor
August 13, 2018 edited

Could you please specify which all directories carrys the additional non operational files which can be deleted.

My instance is consuming more space and I can find alot of disk space has been consumed by /jira/temp and /jira/logs/

Would it be fine to delete few old files directly from the OS  ? 

 

The file names in the directories   

       /jira/logs --> access_log.YYYY-MM-DD and catalina.YYYY-MM-DD.log

      /jira/temp/ --> JIRA-avatar*.tmp,    plugin.*.obr,   imageio*.tmp

 is it ok to delete these files from the mentioned directorties ? 

 

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 15, 2018

I would recommend trying to follow the KB How to rotate the Tomcat catalina log file

Jira will automatically rotate the logs in the $JIRAHOME/log/ folder.  But here are also logs created by the Apache Tomcat instance that Jira is using that are not automatically rotated.

As for the temp files, I would not recommend deleting files there manually while Jira is running.  You should be fine to delete files from that directory when Jira is stopped, however to delete files there when Jira is running could cause problems for Jira itself or other plugins for Jira that might be trying to use that space.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events