-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Deleted tasks and dataset exports use up Docker space #2859
Comments
@azhavoro , could you please investigate the issue? |
Hi, I have the exact same problem.
I don't know what this container is but here is what I get when executing
Task data should be deleted when tasks are deleted. I found these related (closed?) issue #1925 and merge request #2179. Thank you |
After more research, it seems the docker container taking up a lot of space in my case would be Edit:
I guess I could install nuclio again, but I'm afraid that container would grow out of hands again. I'll create a separate issue. |
@azhavoro , it looks like a problem with logs from nuclio. Could you please explain how to overcome the issue and probably prepare a fix for upstream? |
@nmanovic Any update or fix for this. I am facing same issue, we are running automatic annotation. |
Problem with nuclio logs fixed in #4969 |
My actions before raising this issue
The issues relate to space use from CVAT operations. When I delete a task, it makes no change to the amount of space allocated to Docker. Also, when I attempt to export a dataset, space is used in the failed attempt and does not clear out. When I was successful in downloading, the docker space used up in the process matched the zip file size and doesn't reduce. Overall, it seems that CVAT files aren't actually being removed.
Expected Behaviour
I expect that when a task is deleted, it frees up space. Also, if an export fails, the (temp?) files are then deleted after the failed attempt.
Current Behaviour
Recent example:
Last night I tried to export a dataset. cvat_cvat_data increased to using 46.65Gb (checked by doing 'docker system df -v') after the export attempt. The failure occurred because it used up the 30Gb of free space I had in Docker, to a total of 101.7Gb used. Note that the only container/app I have in Docker is CVAT and I only had three labelled tasks; much of the space used was from a buildup of previous exports or deleted videos not being cleared. I stopped and restarted both Docker and CVAT and the space available didn't change.
This morning I tested deleting an unneeded task to confirm that deletions don't impact space available. I noticed cvat_cvat_data went down to 11.26Gb in size. Even with this, the disk space used up in Docker remains the same (101.7Gb) since the failed export attempt. I have since stopped CVAT and restarted docker and nothing changed. I have done a similar process several times in the past, and it seems that deleted tasks and exports (failed or successful) are not being removed.
Possible Solution
I have tried docker image prune, docker image prune -a, docker volume prune, and docker system prune.
A bit ago I managed, with outside IT help, to free up space that was used up from failed/deleted CVAT files and exports. However, neither of us knew what we did that actually made it work since we kept getting the message that the space cleared was 0. I can't seem to replicate what the IT help did and now my Docker space is filled up again.
I could keep increasing the Docker image size but I have done that several times already. This computer has limited space remaining so I can't keep using that as a solution.
Steps to Reproduce (for bugs)
3b. Alternative: delete the task
Result: If you deleted the task, the Docker space will not change. If you exported a dataset, the space used will increase matching the file size of the zip file.
Context
I can't upload or download any more until I can get this to resolve, so I'm stuck without a solution.
Your Environment
docker version
(e.g. Docker 17.0.05):Client: Docker Engine - Community
Cloud integration: 1.0.7
Version: 20.10.2
Mac OS Catalina 10.15.7
CVAT:
Server version: 1.3
Core version: 3.10.0
Canvas version: 2.2.2
UI version: 1.13.8
I don't know what logs or details are most helpful to identify the issue. I'll be happy to supply what you need. I am new to CVAT and Docker so there may be something simple I'm missing or doing wrong. Thank you and your help is much appreciated.
The text was updated successfully, but these errors were encountered: