OMV6, Portainer, Docker, Syncthing, inotify problem

The error:

For the following folders an error occurred while starting to watch for changes. It will be retried every minute, so the errors might go away soon. If they persist, try to fix the underlying issue and ask for help if you can't. [ Support](

<mine> failed to setup inotify handler. Please increase inotify limits, see

using various hints and tricks around the web, including the instructions above, I get here:

#su -c "sysctl -w fs.inotify.max_user_watches=1048576 && sysctl -p"
sysctl: permission denied on key "fs.inotify.max_user_watches"

root@65d4251087ce:/#cat /proc/sys/fs/inotify/max_user_watches

root@65d4251087ce:/#cat /etc/sysctl.conf

so how can i fix my docker to support a larger set of files for watcher. this is after repeat attempts to alter the sysctl.conf to restart sysctl in place, to reboot, to whatever I always get the active watchers as ‘60553’.


You have to raise the limit on your host.

ok i raised the limit in ssh to omv6 and restarted Syncthing from it’s menu restart and now the error is gone, thanks for the help.

It should be enough to raise it on the host.

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