From 6b9517b7a375338454ecebc15b915122524a88f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Thu, 9 Mar 2017 10:33:17 +0000 Subject: [PATCH] Up the inotify limit (#105) * Change default inotify limit to 16k * VSCode wordwrap * Do not use comma in the notify limit --- .config/Code/User/settings.json | 3 ++- fedora/configure_fresh_system.sh | 1 + fedora/etc/sysctl.d/91_inotify_limit.conf | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 fedora/etc/sysctl.d/91_inotify_limit.conf diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json index 8f0484ba..65b31a88 100644 --- a/.config/Code/User/settings.json +++ b/.config/Code/User/settings.json @@ -7,5 +7,6 @@ "rust.rustfmtPath": "/home/cyryl/.cargo/bin/rustfmt", "rust.rustsymPath": "/home/cyryl/.cargo/bin/rustsym", "rust.cargoPath": "/home/cyryl/.cargo/bin/cargo", - "rust.cargoHome": "/home/cyryl/.cargo/" + "rust.cargoHome": "/home/cyryl/.cargo/", + "editor.wordWrap": true } \ No newline at end of file diff --git a/fedora/configure_fresh_system.sh b/fedora/configure_fresh_system.sh index 0f201cec..4f2a8bad 100755 --- a/fedora/configure_fresh_system.sh +++ b/fedora/configure_fresh_system.sh @@ -17,6 +17,7 @@ sudo cp -v /etc/dnf/automatic.conf /etc/dnf/automatic.conf.bak sudo cp -v $DIR/etc/dnf/automatic.conf /etc/dnf/automatic.conf sudo cp -v $DIR/etc/ld.so.conf.d/nextcloud.conf /etc/ld.so.conf.d/nextcloud.conf sudo cp -v $DIR/etc/sysctl.d/90_swapiness.conf /etc/sysctl.d/ +sudo cp -v $DIR/etc/sysctl.d/91_inotify_limit.conf /etc/sysctl.d/ sudo ldconfig set +e diff --git a/fedora/etc/sysctl.d/91_inotify_limit.conf b/fedora/etc/sysctl.d/91_inotify_limit.conf new file mode 100644 index 00000000..08ef9b8c --- /dev/null +++ b/fedora/etc/sysctl.d/91_inotify_limit.conf @@ -0,0 +1,2 @@ +fs.inotify.max_user_watches=16384 +