Comment on page
Supervisely has a built-in mechanism to keep your server clean from unused files, but, sometimes, it is not enough. Here are a few notes on how you can clean your instance from files you don't need.
To remove projects or models you don't need anymore, please use Disk Usage page. Do not forget to visit Server Cleanup page as an admin to provide a final confirmation to permanently remove those files from the storage.
Once a day we automatically remove generated archive files for downloading and temporary files created during import. Additionally, we prune old docker images. You can alter how often to perform this cleanup by changing those variables in the
There is no automatic agent cleanup at this moment.
Usually, a combination of manual and automatic cleanup procedures keep your instance from bloating, but, if for some reason you can see that occupied disk space keeps growing or you have run into a situation when you have zero free drive space on a system disk and cannot use web interface, check the following folders and run cleanup commands below.
We suggest installing
ncducommand if possible and use it as
sudo ncdu <folder>or use
sudo du -sh <folder>.
Solution: Stop Supervisely via
sudo supervisely rm -vfs. Run
sudo docker system prune -a --volumes. Run Supervisely back again via
sudo supervisely up -d.
sudo rm -rf ~/.supervisely-agent/<agent-token>/*. This will clean up agents' cache. Please note that this would also remove neural network weights checkpoints obtained during training that were not uploaded to the storage.