How to solve the Dropbox filesystem monitoring issue

Once Dropbox throws you an error that reads “Unable to monitor filesystem. Please run: echo 100000 | sudo tee /proc/sys/fs/inotify/max_user_watches and restart Dropbox to correct the problem.” you’d better adjust settings in a system config file, to keep changes after reboot.

Open system config (as superuser, of course) in your favorite text editor

$ sudo vi /etc/sysctl.conf

add just one line of code to the end of the file:

fs.inotify.max_user_watches = 1048576

save the file (Shift-ZZ, if you are new to Vi), and reboot computer to apply settings and restart Dropbox.

If you, by any chance, spent the last couple of years living under a rock thus still don’t use Dropbox, create an account immidiately. You will get a regular 2GB free online storage, plus 250MB extra free space if you register via my referral link.

Published on February 04, 2011 (almost 7 years ago)

Article tags: dropbox, linux

Comments (10)

StarQuake about 6 years ago

Instead of rebooting you might want to try this (after editing the file):
sudo sysctl -p
sudo dropbox stop
sudo dropbox start

letroll over 5 years ago

merci pour l'astuce
thank you for your tips

emi over 5 years ago

Thank you, this was very helpul ;)

Fabi almost 5 years ago

Lifesaver!!
TKS :)

Andlynx almost 5 years ago

¡Gracias por el dato! Thanks for the tip!

Eric almost 5 years ago

Starquake's comment was mostly correct, but I had to run "dropbox start" without the sudo in Ubuntu. This prompted my user password.

Running it with sudo seemed to start Dropbox without the normal settings for my user and gave a "Dropbox isn't running!" warning as well.

Luis Abarca almost 5 years ago

Thanks for the info and the "sudo sysctl -p" command

exfromtheleft over 4 years ago

I'm just wondering how did you come with that specific number 1048576? is there any significance to it?

Paul Philippov over 4 years ago

No significance, just a nerdy stuff. 1048576 is (2^10)^2 or 1024x1024. You can change it to any other number that will work for your system. Dropbox suggests 100000.

Hari Swaminathan about 4 years ago

Thanks for the Help..