repeated startups of the managed server eats up harddisk space
During the startup of the manages cdm server for each startup the cdmlib-remote-webapp.war is extracted the system tmp folder.
For each startup a new dir file is being created each consuming ~120 MB
8,0M jetty-0_0_0_0-43625-cdmlib-remote-webapp_war-_-any-8912447172982884934.dir 48M jetty-0_0_0_0-38243-cdmlib-remote-webapp_war-_-any-6776623570264195839.dir 61M jetty-0_0_0_0-36419-cdmlib-remote-webapp_war-_-any-4358208280120821551.dir 121M jetty-0_0_0_0-33725-cdmlib-remote-webapp_war-_-any-8319322894790005341.dir 121M jetty-0_0_0_0-36187-cdmlib-remote-webapp_war-_-any-7551764681041246857.dir 121M jetty-0_0_0_0-36667-cdmlib-remote-webapp_war-_-any-6334046355668681037.dir 121M jetty-0_0_0_0-36913-cdmlib-remote-webapp_war-_-any-6103315124236982943.dir 121M jetty-0_0_0_0-37073-cdmlib-remote-webapp_war-_-any-4538839602095661774.dir 121M jetty-0_0_0_0-37705-cdmlib-remote-webapp_war-_-any-848756261991342523.dir 121M jetty-0_0_0_0-39517-cdmlib-remote-webapp_war-_-any-7771929113698174056.dir 121M jetty-0_0_0_0-39519-cdmlib-remote-webapp_war-_-any-8298194064153268163.dir 121M jetty-0_0_0_0-40035-cdmlib-remote-webapp_war-_-any-2727519756671796540.dir 121M jetty-0_0_0_0-42407-cdmlib-remote-webapp_war-_-any-2846831308129120598.dir 121M jetty-0_0_0_0-43499-cdmlib-remote-webapp_war-_-any-704960962726081470.dir 121M jetty-0_0_0_0-44163-cdmlib-remote-webapp_war-_-any-4124102254100974042.dir 121M jetty-0_0_0_0-45783-cdmlib-remote-webapp_war-_-any-3685758195888632831.dir
#1 Updated by Andreas Müller 4 months ago
- Status changed from New to Feedback
- Assignee changed from Katja Luther to Andreas Kohlbecker
is it really critical if data is extracted into the tmp folder? Older data in this folder should be automatically deleted after time or if a certain thrseshold is reached.
#2 Updated by Andreas Kohlbecker 4 months ago
- Assignee changed from Andreas Kohlbecker to Andreas Müller
in linux systems the tmp folder is cleared during the system start up, which is a very wise strategy. In Mac OS is is for sure the same since this is based on BSD.
I can't imagine a secure periodical deletion strategy of "old" files in the tmp folder.
What is the strategy implemented in Windows?
#3 Updated by Andreas Müller 3 months ago
- Status changed from Feedback to New
In windows it is configurable but by default automatic cleaning of the temp file is switched off. If switched on it can be configured when the delete should take place. Parameters are time and remaining space. I did not find out if there is something like a (configurable) temp removal during restart.
So I agree that it is at least not good practice to not delete the created temporary folders.