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

running DB sync with Docker can use all Linux Inodes #52

Closed
HugoP27 opened this issue Sep 28, 2021 · 1 comment
Closed

running DB sync with Docker can use all Linux Inodes #52

HugoP27 opened this issue Sep 28, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@HugoP27
Copy link

HugoP27 commented Sep 28, 2021

/var/lib/docker/overlay2/$long-string$/diff/tmp/dbsyc/.mergin/work-packages directory is not cleaned in docker container and can easily reach up to a million+ diff files which uses up inodes on Linux, so although I have, for example, 100GiB ssd space of which only 33% is used, I only have 3.7 million inodes of which 90% are used by mergin-db-sync docker containers which stops the Linux machine from working. a good fix would be to delete previous diff's when a new one is downloaded

@wonder-sk
Copy link
Contributor

It looks like the underlying issue is in mergin python client - MerginMaps/python-api-client#47 - and when used in mergin-db-sync for a longer time, the directory just grows and grows...

@PeterPetrik PeterPetrik added the bug Something isn't working label May 30, 2022
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

3 participants