We have a situation where files occasionally aren't being deleted from the tomcat/temp folder on our Linux server. These files all have the word "upload" in the name (for example, upload_844ef312_0c3a_433f_90d1_d9592f01909a_00000134.tmp), and they date from last week to several months ago when this system was upgraded to 4.2.1. I've found postings online for how to change the location of the tomcat temp folder, but nothing about how to ensure that the folder gets cleaned out. These files are large enough to periodically cause disk space issues on this server (file sizes range from 50 KB up to almost 400 MB). The partition on this server is definitely undersized, but I'm working on that issue separately.
I would've expected that the system would clean out temp files when the system restarts, but that doesn't appear to be happening. Is there a setting somewhere that will force these temp files to be removed on a restart?
I deleted the tmp files and everything appears to still be running properly. We've tried reproducing the problem (interrupting large uploads partway through, for example), but we can't make it happen. I'll just keep an eye on the system and see if a pattern emerges for when these files are left around.
Archive: Alfresco Content Services / ECM
Archive content from 2016 and relating to earlier versions of Alfresco Content Services, Community and Alfresco One.