From 80492e902bb69c7c77c242045bff8b80ebfb2a1c Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 29 Jul 2024 23:18:06 +0000 Subject: [PATCH] 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) --- hosts/common/boot.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/common/boot.nix b/hosts/common/boot.nix index dc051cf78..56d9a3fcc 100644 --- a/hosts/common/boot.nix +++ b/hosts/common/boot.nix @@ -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: - 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; }