tilecache: minimal swapout
authorGrant Slater <git@firefishy.com>
Fri, 16 Aug 2019 20:22:57 +0000 (21:22 +0100)
committerGrant Slater <git@firefishy.com>
Fri, 16 Aug 2019 20:26:33 +0000 (21:26 +0100)
roles/tilecache.rb

index 645d107..adce848 100644 (file)
@@ -52,7 +52,7 @@ default_attributes(
     :squid_swappiness => {
       :comment => "Prefer not to swapout to free memory",
       :parameters => {
-        "vm.swappiness" => "30"
+        "vm.swappiness" => "1"
       }
     },
     :sched_wakeup => {