You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show a warning when folder watcher becomes unreliable #6119
When a folder watcher becomes unreliable the client will revert to doing full local discovery. Possibly there should be a warning when that happens to let the user know what's happening and what steps they could take to make the problem go away.
Currently the only case is inotify file descriptor exhaustion.
populate ca 2000 files in ca 20 directories
find . | wc -l
2179
find . -type d | wc -l
24
OK: When the limit is too low, the warning appears. When the limit is set higher, now warning appears.
In this test, 270 was found too low, and 280 was found sufficient
BAD: The exact numbers are hard to explain. It should be either in the 2000 range (if files are watched) or well below 100 (if directories are watched).
Activity
moscicki commentedon Oct 25, 2017
Many thanks for opening this!
guruz commentedon Nov 3, 2017
Is the 100-sync-inotify.conf not working?
#4107
Show a tray message when a folder watcher becomes unreliable #6119
Show a tray message when a folder watcher becomes unreliable #6119
Show a tray message when a folder watcher becomes unreliable #6119
guruz commentedon Jul 23, 2018
2.5.0 beta1 is out :-)
https://central.owncloud.org/t/desktop-sync-client-2-5-0-beta1-released/14667
Everyone, please comment here if we can close this issue. Thank you.
jnweiger commentedon Aug 5, 2018
Mint Tara (aka Ubunut 18.04)
testpilotcloud version 2.5.0daily20180801 (build 9974)
sudo cat /proc/sys/fs/inotify/max_user_watches
524288
OK: setting from our sync-inotify.conf file is applied.
sudo sysctl fs.inotify.max_user_watches=280
sudo sysctl -p
populate ca 2000 files in ca 20 directories

find . | wc -l
2179
find . -type d | wc -l
24
OK: When the limit is too low, the warning appears. When the limit is set higher, now warning appears.
In this test, 270 was found too low, and 280 was found sufficient
BAD: The exact numbers are hard to explain. It should be either in the 2000 range (if files are watched) or well below 100 (if directories are watched).