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

Disk space not freed up from cache #512

Closed
meszape opened this issue Nov 29, 2018 · 6 comments
Closed

Disk space not freed up from cache #512

meszape opened this issue Nov 29, 2018 · 6 comments
Labels

Comments

@meszape
Copy link

meszape commented Nov 29, 2018

Hi

I ran into an issue, that my disk became 100% filled, however analyzing my filesystem I only used 20%. I did some digging and found, that when files are deleted from cache, the data doesn't gets deleted, becasue the files are still open.

I double checked and all uploads finished. I closed the application which was writting to googledrive, waited a few hours, but the space is still occupied, and i can see the cache files if i execute
sudo lsof | grep 'delete'

So to sum up:

  • My cache directory is empty

  • sudo lsof | grep 'deleted' shows that 20GB cache files are deleted, but still there

  • Verified that modified files are updated in googledrive

  • Verified that there is no network activity

  • Verified with df -h that 20GB of space is still filled

Please advise!

Thanks!

@astrada
Copy link
Owner

astrada commented Dec 5, 2018

Should be fixed in the beta ppa. If you are using opam, you can try the fix before it gets to the main repo, running:

opam pin -n add gapi-ocaml https://github.com/astrada/gapi-ocaml#master
opam update
opam upgrade

To restore the main repo version:

opam pin -n remove gapi-ocaml
opam update
opam upgrade

Thanks for reporting the issue!

@meszape
Copy link
Author

meszape commented Dec 5, 2018

Thanks for the fix!

@Calendal
Copy link

Calendal commented Dec 5, 2018

Should be fixed in the beta ppa. If you are using opam, you can try the fix before it gets to the main repo, running:

opam pin -n add gapi-ocaml https://github.com/astrada/gapi-ocaml#master
opam update
opam upgrade

To restore the main repo version:

opam pin -n remove gapi-ocaml
opam update
opam upgrade

Thanks for reporting the issue!

This is a fix or a workarround?

@astrada
Copy link
Owner

astrada commented Dec 5, 2018

This is a fix or a workarround?

It should fix the issue. The opam pin commands are to test the fix before it gets approved and lands in the official opam-repository.

@Calendal
Copy link

Calendal commented Dec 5, 2018

This is a fix or a workarround?

It should fix the issue. The opam pin commands are to test the fix before it gets approved and lands in the official opam-repository.

OK! Thanks for the effort.

@meszape
Copy link
Author

meszape commented Dec 28, 2018

I can confirm, that this is fixed!
Thx

@astrada astrada closed this as completed Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants