I am using Syncthing on my truenas scale and got the following error after adding more and more directories.
failed to setup inotify handler. Please increase inotify limits, see https://docs.syncthing.net/users/faq.html#inotify-limits
The fix is simple, just login to your truenas scale and click to
System Settings ->
fs.inotify.max_user_watches with value
204800 and that's it. Happy syncthing!
The author does not allow comments to this entry