From 7ec9bd7ef51c9551cf2e3ebb7a8d67c151634a5f Mon Sep 17 00:00:00 2001 From: K4YT3X Date: Mon, 19 Oct 2020 17:31:10 -0400 Subject: [PATCH] increased fs.inotify.max_user_watches to 524288 --- sysctl.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sysctl.conf b/sysctl.conf index cb1bae4..4704f9e 100644 --- a/sysctl.conf +++ b/sysctl.conf @@ -2,7 +2,7 @@ # Author: K4YT3X # Contributors: IceCodeNew # Date Created: October 5, 2020 -# Last Updated: October 7, 2020 +# Last Updated: October 19, 2020 # Licensed under the GNU General Public License Version 3 (GNU GPL v3), # available at: https://www.gnu.org/licenses/gpl-3.0.txt @@ -94,6 +94,11 @@ fs.protected_regular = 2 # larger than this value fs.file-max = 9223372036854775807 +# increase the amount of files that can be watched +# each file watch handle takes 1080 bytes +# up to 540 MiB of memory will be consumed if all 524288 handles are used +fs.inotify.max_user_watches = 524288 + ########## Virtualization ########## # improve mmap ASLR effectness