We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
wimdeceuk
9 months agoExplorer | Level 4
old_files cache folder occupying too much space on Ubuntu
My hard disk space is running low regularly because the old_files folder in the dropbox cache takes too much space (40+ GB). I have to manually delete this folder every couple of days now. Is there a way to limit its size or to have it deleted automatically?
I am using dropbox on an ubuntu system.
- WreckItTim1Helpful | Level 7
Can Dropbox please revisit cache settings. There are several programs which write temporary files that can clutter the cache. I've ran into this a couple times, and so have other users that I have seen on the forums. I've had my cache blow up to hundreds of gigs -- which otherwise fills up the hard disk space. Honestly, I just want to turn the cache off, but even just having a setting to throttle it would be really beneficial. It can take up absorbent amounts of space.
- WreckItTim1Helpful | Level 7
I previously wrote a post about generally throttling the entire cache. I understand the cache is used by Dropbox through several of its routines, which may make this difficult. However, is it possible to just turn off the "old_files" folder? I routinely run programs through my Dropbox setup across multiple devices. Part of this process writes temporary files, which even when I turn off sync to the folders that are being written to, will be added to the old_files cache when the temporary files are deleted. The amount of processing is large enough to fill up the folder with 100s of GB that will then eventually take up the entire capacity of the hard drive. To my understanding, "old_files" is essentially a recycle bin used to just back up files in case I need to recover something that I accidently deleted -- which I would assume is not used by Dropbox in other essential routines. This seems like an optional feature to me. I want to just disable it, because it is adding detrimental behavior to my environment.
A quick fix is to routinely delete the "old_files" folder. There are two problems with this: (1) it can be annoying to do manually, when you run things as often as I do; and (2) if I do it programmatically, it can run into issues when trying to delete that folder while the recently deleted files are being written to it by Dropbox.thanks for any feed back on if this option is already available, Dropbox plans on adding this feature (seems simple enough in theory), or someone has another workaround!
- RichSuper User II
@wimdeceuk wrote:
Is there a way to limit its size or to have it deleted automatically?
There's no way to limit its size, and items in the .dropbox.cache folder are automatically removed after three days. There are no settings to control this.
- wimdeceukExplorer | Level 4
Thanks. I should have explained that they aren't removed automatically in my case.
- ЗдравкоLegendary | Level 20
Hi wimdeceuk,
Yes, cache files may stay much longer unfortunately - one more imperfection (not to say something else). An easy workaround might be a cron job that wipe out the cache let say once a day (or some other period, convenient for you). 😉
Good luck.
About Storage Space
Looking for help with managing the storage space in your Dropbox account? Talk to the Dropbox Community and get advice from members.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!