From 68b4458c8831b6ae42b6240cca756f1099a564e0 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Mon, 13 Jan 2020 06:53:22 +0100 Subject: [PATCH] Improve inode/dnode caching under memory pressure --- etc/sysctl.d/99-custom-hosting.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/sysctl.d/99-custom-hosting.conf b/etc/sysctl.d/99-custom-hosting.conf index 9296dd3..2128b28 100644 --- a/etc/sysctl.d/99-custom-hosting.conf +++ b/etc/sysctl.d/99-custom-hosting.conf @@ -6,4 +6,5 @@ net.core.somaxconn = 2048 net.core.netdev_max_backlog = 5000 vm.swappiness=1 vm.dirty_ratio = 40 -vm.overcommit_ratio=100 +vm.overcommit_ratio = 100 +vm.vfs_cache_pressure = 50