Ubuntu 24.04 Handle fs.inotify.max_user_watches in Separate File
According to Ubuntu is resetting fs.inotify.max_user_watches - how to make it stop messing with it?,
1
fs.inotify.max_user_watches=524288
is moved from /etc/sysctl.conf to /etc/sysctl.d/ folder.
And it’s probably need to create a file, e.g. 31-custom-inotify-limit.conf to store this config.
This post is licensed under CC BY 4.0 by the author.