-
Task
-
Resolution: Fixed
-
Critical
-
None
-
None
-
Brown Dog - April/May
After a file is uploaded back to the master server, the softwareserver process should clean up the cache folder. This is especially important for the case where the softwareserver runs as a docker process.
This caused the avconv containter to grow to 3.2GB and will eventually make the docker machine run out of diskspace.
Temporary solution scale down to 0, and start new instances every so often.
e.g.,
total 28M
|
drwxr-xr-x 3 root root 4.0K May 2 17:23 . |
drwxr-xr-x 1 root root 4.0K May 2 16:56 .. |
-rw-r--r-- 1 root root 778 May 2 17:01 .session_1.log |
-rw-r--r-- 1 root root 773 May 2 17:23 .session_2.log |
-rw-r--r-- 1 root root 805K May 2 17:01 1_20217111_ncsa.jpeg |
-rw-r--r-- 1 root root 8.8M May 2 17:01 1_20217111_ncsa.tiff |
-rw-r--r-- 1 root root 8.8M May 2 17:23 2_20217111_ncsa.bmp |
-rw-r--r-- 1 root root 8.8M May 2 17:23 2_20217111_ncsa.tiff |
drwxr-xr-x 2 root root 4.0K May 2 17:23 public |
root@4e0539fc68ec:/home/polyglot/polyglot/tmp/SoftwareServer/Cache# |