-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup for storage-users uploads #9797
Comments
Also see: #9962 (Patch Release 5.0.7) |
I had the same issue, though, I had alerts in place that warned me about it early, and I was able to clean the local user storage manually by running the command: Having some kind of retention mechanism that kicks in if the files expire after a configured time or when the storage grows larger than a configured storage limit would really be appreciated. One tip, I got from a retired sysadmin some time ago: If you create a dummy file (i.e., with |
You can use the It states: |
Is your feature request related to a problem? Please describe.
Our users are uploading big files and sometimes their uploads will fail due to bad internet connection / closing of the notebook. This will save the files in the folder
/storage/users/uploads
. We had a full disk last weekend because one user uploaded some big videos and the upload got interrupted. We are using external storage for spaces (S3). Due to the usage of this storage engine, we did not equip the VM with much hardware like huge disks. Because multiple uploads got interrupted, out disk went to 100% and we couldn't do anything. Not even running theclean command
in the container because the disk was full. After watching our monitoring graphs, we've seen a steady linear increase over the last two months. This could have been prevented if we had some kind of mechanism to automatically clean non-processing and expired uploads.See for more information on that topic
Describe the solution you'd like
One maintainer gave a example of a fix for this. A fix would be a go routine, like used for other things, to periodically run the clear command for non-processing and expired files. Being able to configure the job would be the cherry on top.
Describe alternatives you've considered
One alternative would be to run a cronjob on the actual system to exec into the container and run the command.
Additional context
See for more information on that topic
The text was updated successfully, but these errors were encountered: