Warning message in Syncthing "Default Folder failed to setup inotify handler. Please increase inotify limits"

Mon serveur YunoHost

Matériel: Raspberry Pi à la maison / Brique Internet avec VPN
Version de YunoHost (stable)
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modifiiations particulières sur votre instance ? : Mon Yunohost est installé sur un hdd, branché sur un Rasperry Pi 3 B.


I have a warning message on the Syncthng web page of my Yunohost:

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
Default Folder failed to setup inotify handler. Please increase inotify limits, see FAQ — Syncthing documentation

Is it safe to apply the command that is recommended FAQ — Syncthing documentation ? :

echo "fs.inotify.max_user_watches=204800" | sudo tee -a /etc/sysctl.conf

Thank you.

Safe, yes. Marginally it might increase memory usage, but it’s still better than having a broken app: Documentation for /proc/sys/fs/ — The Linux Kernel documentation (very bottom of the page)

1 Like

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