-
Notifications
You must be signed in to change notification settings - Fork 96
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
Root drive slowly filling up #137
Comments
So, I've found that the tmp folder has a folder, owned by root, named /tmp/tmpS0SSax. I've written a simple script to run under sudo to delete all the files in this folder every hour. This seems to have solved the problem. while true
do
sleep 3600
rm /tmp/tmpS0SSax/*
done |
I'm reopening so that we can have it in the queue to find a better solution. |
The folder under /tmp changes when ever you reboot. |
That's why I use it. By default, tmpfs automatically has a size-limit I'll see if I can start a cleanup thread. Thank you for your donation. On Tue, Jul 28, 2015 at 12:02 PM, William R Main [email protected]
|
I am starting to wonder if it is the gdrivefs that is leaving the tempfiles behind or the rsync command that I am issuing. I've looked through all of the code and as far as I can see there is a cleanup in the del function anywhere that a temp file is used. |
Could it be a garbage collection problem leaving the temp files behind because the deleted objects have not yet been cleaned up? |
anyone have a good fix for this? im constantly using the gdrive, so i dont want to just delete files in the tmp folder for fear of corrupting current downloads. |
My |
I just created PR #156 with the fix. Since many people have created PRs of their own, I wanted to foster the continued spirit of collaboration for this project before I just went ahead and merged it. Please test. Thanks for the feedback. I'm sorry for such delays. I didn't see this issue for what it was (a basic design flaw). |
Seems to be working as far as I can tell! Thanks a ton! |
It's the least I could do for your continued use of this project, which I appreciate very much. Thanks to all. |
When I am rsyncing my large music folder to the google drive, my root drive system slowly fills up. Is there a location where there are temp files (I've looked in /tmp but nothing there) that are not getting deleted?
When I reboot the system it goes back to it's original size.
The text was updated successfully, but these errors were encountered: