janeczku / docker-dropbox

:whale: Dropbox in a Docker image. This works.
MIT License
148 stars 129 forks source link

Dropbox throttled? #44

Open mundo1979 opened 4 years ago

mundo1979 commented 4 years ago

Hey everyone.

Has anyone else seen a problem with dropbox slowing to a crawl since the 13th/14th Feb?

Sync status remains at 2+ days:

[root@lamarque src]# dropbox status Syncing "agi-bin" • 2+ days Indexing "agi-bin" (2+ days)

Installed version: 91.4.548

Nothing in docker's logs to suggest an issue.

Virtual host version:

FROM debian:stretch

top shows dropbox not using much CPU.

3 servers all had the issue at the same time. A 4th server, also with the same docker file is having no issues.

Is anyone else having a similar problem?

Many thanks,

Ray

endotronic commented 3 years ago

I have a variation of the same problem. I haven't solved it, but I suspect Dropbox may need more filesystem watchers (fs.inotify.max_user_watches). Maybe setting a higher limit will work for you.

otherguy commented 3 years ago

You might want to try my more up-to-date fork of this.

endotronic commented 3 years ago

Thank you! I just updated to your fork, and it appears to be working much better. I also appreciate some of the other nice things you've added.

I glanced through the commit history and didn't see anything in particular that I would expect to fix this issue. Is it just the update to Debian Buster? I'd love to know what the fix was.

otherguy commented 3 years ago

The max_user_watches setting is only relevant if you sync more than 10000 folders with Dropbox.

But probably, at least if you are using this exact base image here, you will not be running the latest version of Dropbox.

endotronic commented 3 years ago

Ah, I see that. Thanks.