From 9de37291ec29110761102418b96577118b5c1a41 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Tue, 14 May 2019 22:18:39 +0300 Subject: [PATCH] vm.overcommit_memory = 1 --- sysctl.d/12309.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysctl.d/12309.conf b/sysctl.d/12309.conf index e1b21a4..b4e0d2d 100644 --- a/sysctl.d/12309.conf +++ b/sysctl.d/12309.conf @@ -5,7 +5,7 @@ vm.vfs_cache_pressure = 1000 # http://www.linux.org.ru/wiki/en/User:shimon/12309 # reduce memory size allowed to process (default = 0 ) -vm.overcommit_memory = 2 +vm.overcommit_memory = 1 # memory allowed to process: total_swap + total_ram * overcommit_ratio / 100 (default = 50 ) #vm.overcommit_ratio = 12 # disk buffer size (default = 0 )