1
votes

While trying to clear up some disk space, I noticed that many Gigabytes of data lie around in the 'sonatype-work/nexus/tmp' folder. The biggest directory is called 'nexus-maven-repository-index.gz*.dir' and I am hesitating to remove it. Is that just a temporary and unused copy of the repository index which I can safely delete?

The documentation of the Nexus Directories does not provide sufficient information about the 'tmp' folder. It only says that it is the "Folder used for temporary storage".

1
have you configured task to cleanup time line and the trash? - khmarbaise
Yes, but those tasks do not seem to clean up the tmp folder. - dokaspar
ah...Misunderstanding on my site. I would just simply delete it. - khmarbaise

1 Answers

4
votes

It should be safe to delete this content. Please note that treatment of the tmp folder recently changed in the 2.8.1 release.

Also going forward you should use the Empty Trash scheduled task. See http://blog.sonatype.com/2009/09/nexus-scheduled-tasks/