[MNT-19052] The tomcat/temp folder fills up with upload_*.tmp files Created: 21-Dec-17  Updated: 22-Sep-20

Status: Open
Project: Service Packs and Hot Fixes
Component/s: Share Application
Affects Version/s: 5.0.4, 5.0.5, 5.2.3, 5.2.4
Fix Version/s: 5.0.N, 5.2.N, 6.0.N, 6.1.N

Type: Service Pack Request
Reporter: Gerald Cussen Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: triaged
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Alfresco One 5.0.4

Attachments: PNG File Capture.PNG    
Issue Links:
duplicates MNT-16407 (Win2012)Temp Files created in <Alfr... Closed
Bug Priority:
Category 2
ACT Numbers:

00947985, 00959133, 00987285, 01010142

Story Points: 3


Problem Summary

5.0.4 customer observes the tomcat/temp folder is filling up with upload_*.tmp files. The files are not being cleared by the tempFileCleaner job.

Steps to Reproduce

1. Using Alfresco 5.0.4 out of the box
2. Upload to Share the test.xlsx and test.tif file located at ftp://ftp.alfresco.com/support/Jira_Related/MNT-19052
3. Each upload action triggers PdfBox, Tika and Poi metadata extraction for Solr indexing. One of these may fail due to the document size or complexity.
3. Go to Share and preview the uploaded files to ensure all other document transformations are attempted, i.e. Share preview and thumbnail. One of these may also fail.
4. In <alfresco_home>/tomcat/temp you should see two upload_*.tmp files for the recently uploaded files.
5. Either wait for more than one hour for the tempfileCleaner to run or trigger the job from Jconsole.

The document transformations are finished. Therefore the upload_*.tmp files should be deleted.

When there is a transformation failure the upload_*tmp files remain and can fill up the tomcat/temp folder unless the system admin manually deletes them.

Similar to internal Jira REPO-1037

Generated at Fri Dec 04 05:44:33 GMT 2020 using Jira 7.13.15#713015-sha1:7c5ddd2c3e1709974ae9c48c17df8edd3919fe2c.