Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
5
-
Description
NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.
Summary
Many attachment-*.tmp files remain in <confluence_install>/temp after uploading attachment files to a Page with REST API.
Thousands of attachment-*.tmp files remain in <confluence_install>/temp directory.
Somethimes amount of total file sizes become several GB.
those files are not deleted by scheduled job, since the job deletes files in <confluence_home>/temp.
Environment
- Confluence 5.9.9
Steps to Reproduce
1. curl -v -S -u admin:password -X POST -H "X-Atlassian-Token: no-check" -F "file=@myfile.txt" -F "comment=this is my file" "http://localhost:8090/rest/api/content/<page id>/child/attachment" | python -mjson.tool
2. check <confluence_install>/temp directory.
Expected Results
Templory files should be deleted after completing the REST API.
or
A scheduled jos deletes them.
Actual Results
Templory files remain after competing REST API program.
And when Confluence is stopped, those tmp files are deleted.
This means those files maybe remain in temp directory for long term.
Workaround
restart conflunece, then those attachment-*.tmp files are deleted.
Attachments
Issue Links
- is related to
-
CONFSERVER-41622 Clean up attachment-*.tmp files in <confluence_install>/temp directory.
- Closed