From 4dad21c481de9f73f2f8308db0e00906b59f35b1 Mon Sep 17 00:00:00 2001 From: Stephan Hohn Date: Mon, 9 May 2016 22:05:01 +0200 Subject: [PATCH] Increase system stabillity by re-enabling swap and setting vm.swappiness to 10 --- roles/ceph-common/defaults/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/ceph-common/defaults/main.yml b/roles/ceph-common/defaults/main.yml index 4819b7400..a5de1ae72 100644 --- a/roles/ceph-common/defaults/main.yml +++ b/roles/ceph-common/defaults/main.yml @@ -365,12 +365,13 @@ ceph_conf_overrides: {} ############# disable_transparent_hugepage: true -disable_swap: true +disable_swap: false os_tuning_params: - { name: kernel.pid_max, value: 4194303 } - { name: fs.file-max, value: 26234859 } - { name: vm.zone_reclaim_mode, value: 0 } - { name: vm.vfs_cache_pressure, value: 50 } + - { name: vm.swappiness, value: 10 } - { name: vm.min_free_kbytes, value: "{{ vm_min_free_kbytes }}" }