Hello Everyone,
Currently we have ACS v7.1.1 running on RHEL 8 with Java JDK 11 and tomcat 9.x. We are running ACS with CMIS and haven't configured any search services.
While running load testing, we have monitored java.io.tmpdir (/tomcat/temp) folder and after each upload/retrieve, it creates .tmp files named 'upload_<GUID>.tmp' and these files are getting cleaned up instantly within few minutes.
Now, we are in process of upgrading ACS to v23.x. Currently on another enviornment, ACS v23.2 is running on same RHEL 8 OS with Java JDK as v17.x and tomcat 10.x.
While running Non-Functional testing, we generate 2x, 3x Upload, Search, Retrieve transactions. During this NFT run, we can see temp directory is getting filled and not cleaning up evenafter few days.
We have allocated more than 80 GBs to temp directory, however, after certain hours of NFT testing, disk space is reaching 100% and server is becoming unresponsive. Same NFT run we did number of times on v7.1.1 and never faced this issue.
I have seen some blogs and posts where it is mentioned that, this may be because of Tomcat 10.x or Java 17.x. However, no conclusive responses.
Any idea who cleans tomcat/temp files? As per my understanding Alfresco tempFile cleaner scheduler only clears tomcat/temp/Alfresco and tomcat/temp/Alfresco-Webscripts folder, not tomcat/temp.
Can anyone please let me know if anybody has faced any such issues with either tomcat 10.x or Java 17.x or ACS v23.x?
Any parameters or configurations to be modified for tomcat or Java?
HI @jigirshah
We are facing the same issue with Alfresco-23.2. Have you found any fix or workaround for this?
Hi @imadhurang ,
No fix yet. Awaiting Hyland's response as of now.
If this a bug in ACS 23.x, then there would be Major issue and Hyland has to provide a fix/patch.
Hi @jigirshah , have you heard anything back yet from Hyland on this issue ? We are facing the same and have a ticket open but haven't heard back yet.
As a workaround, add following property to your environment variables or alfresco-global.properties:
webscripts.tempDirectoryName=
With an empty value.
The Job "webscripts.tempFileCleanerJobDetail" will remove all the files in tomcat/temp older than 1 hour.
@angelborroy , do you know if this is a known issue with 23.x that files are not getting cleaned up ? What we have done is basically the same suggestion you have but within our own temp file cleaner job and it seems to resolve the issue but its a workaround and not ideal.
The issue is still being processed, if that is confirmed as an existing issue, a patch will be released soon.
Hello @angelborroy ,
While talking to Hyland support, we have got a confirmation about this issue and Hyland is able to replicate this in their environment. Awaiting patch/fix for this.
This workaround was proposed by us to Hyland support and they agreed on this as of now. However, this can not be a long term solution.
Just wondering why this issue was not caught ealier?
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.