Translate

November 13, 2011

Dropbox – echo 100000 | sudo tee /proc/sys/fs/inotify/max_user_watches

Dropbox - echo 100000 | sudo tee /proc/sys/fs/inotify/max_user_watches

Dropbox comes up with the error message:
echo 100000 | sudo tee /proc/sys/fs/inotify/max_user_watches

Unfortunately anything put in /proc/sys is not permanent and your back at square one on next boot. There are a couple of fixes it for the issue though.
1) Edit /etc/sysctl.conf and add the following:

# Fix for Dropbox
fs.inotify.max_user_watches=100000


2) Edit /etc/rc.local and add the following:

echo 100000 | tee /proc/sys/fs/inotify/max_user_watches
Any one will permanently fix the error (as far as I understand) I am using method 1.

This is a brief explanation of the issue that I found at http://forums.dropbox.com/topic.php?id=29130
This is from the "advanced" section of https://www.dropbox.com/help/145:
"Monitoring more than 10000 folders
The Linux version of the Dropbox desktop application is limited from monitoring more than 10000 folders by default. Anything over that is not watched and, therefore, ignored when syncing. There's an easy fix for this. Open a terminal and enter the following:
sudo sysctl fs.inotify.max_user_watches=100000 
This command will tell your system to watch up to 100000 folders. Once the command is entered and you enter your password, Dropbox will immediately resume syncing."

Post a Comment