failed to setup inotify handler. Please increase inotify limits, see


I have configure some folders and i’m getting the issue “increase inotify limits” What i did, using terminal connection from my laptop windows 10 to a synology nas, i used this command, it applied without problem, then restarted the nas but still getting the same issue echo “fs.inotify.max_user_watches=204800” | sudo tee -a /etc/sysctl.conf

Any other option to resolve?


welcome to syncthing on synology. check /etc/sysctl.conf to confirm the line is really there.

And for the future, you don’t have to reboot the NAS, just run:

sudo sh -c 'echo 204800 > /proc/sys/fs/inotify/max_user_watches'

For my Synology´s I use a permanent solution you set with the task planner in the control panel.

There you deposit a “triggered task” with the string

sh -c '(sleep 120 && echo 204800 > /proc/sys/fs/inotify/max_user_watches)&'

on boot. That means, on every boot that command will implemented. The sleep time is estimated by me and can be adjusted.



Thanks for the info. It worked.


1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.