]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nominatim.rb
Ignore some fans that aren't connected
[chef.git] / roles / nominatim.rb
index 1c620147253cf76d6b1cf02464cc42388d6f450f..a98fd9f25a349ab3975e279a3a0922ec98bb7f99 100644 (file)
@@ -48,6 +48,12 @@ default_attributes(
         "kernel.sched_min_granularity_ns" => 10000000,
         "kernel.sched_wakeup_granularity_ns" => 15000000
       }
+    },
+    :swappiness => {
+      :comment => "Reduce swap usage",
+      :parameters => {
+        "vm.swappiness" => 10
+      }
     }
   },
   :nominatim => {