From 4127f1a7d938e273b5b50b5a316ce9c4d4163ea2 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Fri, 28 Apr 2023 14:43:07 +0200 Subject: [PATCH] Add sysctl.d folder (kernel settings) --- root/etc/sysctl.d/90-vm-map-count.conf | 1 + root/etc/sysctl.d/90-vm-swappiness.conf | 1 + 2 files changed, 2 insertions(+) create mode 100644 root/etc/sysctl.d/90-vm-map-count.conf create mode 100644 root/etc/sysctl.d/90-vm-swappiness.conf diff --git a/root/etc/sysctl.d/90-vm-map-count.conf b/root/etc/sysctl.d/90-vm-map-count.conf new file mode 100644 index 0000000..45f2f1a --- /dev/null +++ b/root/etc/sysctl.d/90-vm-map-count.conf @@ -0,0 +1 @@ +vm.max_map_count=2147483642 diff --git a/root/etc/sysctl.d/90-vm-swappiness.conf b/root/etc/sysctl.d/90-vm-swappiness.conf new file mode 100644 index 0000000..51c6fc3 --- /dev/null +++ b/root/etc/sysctl.d/90-vm-swappiness.conf @@ -0,0 +1 @@ +vm.swappiness=10