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 (over 6 years ago)

Article tags: dropbox, linux

Comments (10)

StarQuake almost 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 about 5 years ago

Thank you, this was very helpul ;)

Fabi over 4 years ago

TKS :)

Andlynx over 4 years ago

¡Gracias por el dato! Thanks for the tip!

Eric over 4 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 over 4 years ago

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

exfromtheleft about 4 years ago

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

Paul Philippov about 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 almost 4 years ago

Thanks for the Help..