inotify watches: bump 1M -> 4M

i'm hoping this will reduce errors on servo seen in system services,
about exhausing "disk space" (file handle space)
This commit is contained in:
2024-07-29 23:18:06 +00:00
parent f058fe0be6
commit 80492e902b

View File

@@ -46,5 +46,6 @@
# manifests as spurious "No space left on device" when trying to install watches,
# e.g. in dyn-dns by `systemctl start dyn-dns-watcher.path`.
# see: <https://askubuntu.com/questions/828779/failed-to-add-run-systemd-ask-password-to-directory-watch-no-space-left-on-dev>
boot.kernel.sysctl."fs.inotify.max_user_watches" = 1048576;
boot.kernel.sysctl."fs.inotify.max_user_watches" = 4194304;
boot.kernel.sysctl."fs.inotify.max_user_instances" = 4194304;
}