[PVE-User] change /proc/sys/fs/inotify/max_user_watches

Falco Kleinschmidt fk at datenfalke.de
Wed Nov 15 14:13:40 CET 2017

>> Hi all!
>> I am running a 3 node 5.0 cluster. I want to raise the limit of
>> "/proc/sys/fs/inotify/max_user_watches" globally on the cluster.
>> Using the following on a node solves the problem (inotify resources
>> exhausted) locally (for CTs running on the node):
>> echo 81920 > /proc/sys/fs/inotify/max_user_watches
>> Should I use rc.local on all nodes to make it persistent cluster wide?
>> Is there a different recommended way for system configurations like this?
> see man sysctl and man sysctl.conf/sysctl.d

Good advice, thank you!

The following is working:

# cat /etc/sysctl.d/inotify.conf
fs.inotify.max_user_watches = 81920

More information about the pve-user mailing list