Skip to content
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

Server run out of disk space when cloud storage is used. #8009

Closed
2 tasks done
Tom1204 opened this issue Jun 10, 2024 · 3 comments
Closed
2 tasks done

Server run out of disk space when cloud storage is used. #8009

Tom1204 opened this issue Jun 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Tom1204
Copy link

Tom1204 commented Jun 10, 2024

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Steps to Reproduce

  1. Deploy CVAT with docker
  2. Create project and attach cloud storage
  3. Create task from cloud storage images(where image quality is maximum 70%)

Disk space 300GB

Expected Behavior

Now I am facing issue where CVAT is crashing due to health check for disk space > 90%. So, when I create task it download original images and use them for annotations. When I have look for directories I have seen that it saves original and compressed images.
image
image
I have around 1TB data on cloud. So, I can't create task for rest of them. Or even use it.

Possible Solution

It should clean images when disk space runs out or after compressing. Or after defined period it should clean downloaded cloud images.

Context

image image image

Environment

No response

@Tom1204 Tom1204 added the bug Something isn't working label Jun 10, 2024
@Tom1204 Tom1204 changed the title Server run out of memory when cloud storage is used. Server run out of disk space when cloud storage is used. Jun 10, 2024
@bsekachev
Copy link
Member

Hello,
Please, try to reproduce the problem in the latest version of CVAT before submitting the issue.

@Tom1204
Copy link
Author

Tom1204 commented Jun 15, 2024

I have updated to 2.14.3, however it did not clean the disk. CVAT did not launch. I have cleaned it by myself. I wanted to ask have you thought about automatic cleaning disk, if it is using cloud?

What should I do if I have TB data in cloud, but have 300GB in server which is installed CVAT? What is best practice for such situation? @bsekachev

@bsekachev
Copy link
Member

bsekachev commented Jun 17, 2024

  1. If you create tasks from a cloud storage with enabled "Use cache" option, it will not copy all the data from the cloud storage to local disk (but this is supported only for images, not for videos).
  2. But when you request frames from the browser, it creates data chunks in cache. Default lifetime of this cache is 24 hours. This cache is stored on the local disk.
  3. Upgrading CVAT will not remove something automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants