Up the inotify limit (#105)

* Change default inotify limit to 16k

* VSCode wordwrap

* Do not use comma in the notify limit
This commit is contained in:
Cyryl Płotnicki 2017-03-09 10:33:17 +00:00 committed by GitHub
parent d9ecba8798
commit 6b9517b7a3
3 changed files with 5 additions and 1 deletions

View file

@ -7,5 +7,6 @@
"rust.rustfmtPath": "/home/cyryl/.cargo/bin/rustfmt", "rust.rustfmtPath": "/home/cyryl/.cargo/bin/rustfmt",
"rust.rustsymPath": "/home/cyryl/.cargo/bin/rustsym", "rust.rustsymPath": "/home/cyryl/.cargo/bin/rustsym",
"rust.cargoPath": "/home/cyryl/.cargo/bin/cargo", "rust.cargoPath": "/home/cyryl/.cargo/bin/cargo",
"rust.cargoHome": "/home/cyryl/.cargo/" "rust.cargoHome": "/home/cyryl/.cargo/",
"editor.wordWrap": true
} }

View file

@ -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/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/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/90_swapiness.conf /etc/sysctl.d/
sudo cp -v $DIR/etc/sysctl.d/91_inotify_limit.conf /etc/sysctl.d/
sudo ldconfig sudo ldconfig
set +e set +e

View file

@ -0,0 +1,2 @@
fs.inotify.max_user_watches=16384