Increase system stabillity by re-enabling swap and setting vm.swappiness to 10

pull/768/head
Stephan Hohn 2016-05-09 22:05:01 +02:00
parent fe07fad877
commit 4dad21c481
1 changed files with 2 additions and 1 deletions

View File

@ -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 }}" }