Comment 21 for bug 608011

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

[12:39] <rye> lalejand, ok, now we know why that inotify error was happening, max amount of watches was 8k, you have 35k of directories
[12:42] <rye> lalejand, the other concern is the number of files in your directories, when syncdaemon is rescanning your system it adds a watch to every directory, after 8192 directories it stopped adding watches and was not able to do anything, now it will be able to do anything but local rescan can take really long time
[12:45] <rye> lalejand, anyway you might need to add fs.inotify.max_user_watches = 524288 to /etc/sysctl.conf
[12:52] <lalejand> rye : cat ~/.cache/ubuntuone/log/syncdaemon.log | grep ERROR >>> nothing :))))))

Why the limit is so low by default ?