Dropbox: Unable to monitor filesystem

Have you seen this while using Dropbox in Linux?

Unable to monitor filesystem
Please run: echo 100000 | sudo tee /proc/sys/fs/inotify/max_user_watches
and restart Dropbox to correct the problem.

Apparently, Linux is imposing some kind of default restriction of the number of files that you can monitor with inotify. This is not Dropbox’s fault. This is a system-level setting, so you’ll need root to fix it. The easiest way to fix it is to tell sysctl to increase the limit. Just run this command to add the sysctl configuration:

echo "fs.inotify.max_user_watches = 99999999999" | sudo tee /etc/sysctl.d/20-dropbox-inotify.conf

And to load the new configuration immediately, reboot or just run this:

sudo sysctl -p /etc/sysctl.d/20-dropbox-inotify.conf

That should permanently fix it.

This entry was posted in Dropbox and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>