Details
Description
Components uploaded in the upload UI create temporary files under sonatype-work/nexus3/tmp.
These files are not cleaned up until GC is run by the VM.
-rw-r--r-- 1 username staff 319913 Oct 26 11:43 upload_78f6e4b8_5d15_4e17_85a6_33de787709ea_00000011.tmp -rw-r--r-- 1 username staff 4189874 Oct 26 11:44 upload_78f6e4b8_5d15_4e17_85a6_33de787709ea_00000028.tmp
So it would seem that these files are deleted in object finalizers? You can't count on finalizers running, so this can lead to orphaned temp files consuming disk space.
Expected:
The temporary files should be deleted as soon as the upload is completed.
Attachments
Issue Links
- relates
-
NEXUS-18277 UI upload creates temporary files in java.io.tmpdir
-
- Closed
-