X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/eda0faa323426615b78375067a62aecd41b9b5af..d524df24e5f3fe2c7eba94a7ad2d36a1756a6087:/roles/nominatim.rb diff --git a/roles/nominatim.rb b/roles/nominatim.rb index 1c6201472..a98fd9f25 100644 --- a/roles/nominatim.rb +++ b/roles/nominatim.rb @@ -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 => {