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 645d107d0e57c7706730e0aae1b4e42c7be61587..adce84808c8130785e12e069cd6d73079edd3afa 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 => {