X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8bf90ce3ab5686bb008c17d4cfad58f9ef0511b4..bf61eba8aa8b8c8069d874cde29736cbac0c4f1f:/roles/nominatim.rb?ds=sidebyside diff --git a/roles/nominatim.rb b/roles/nominatim.rb index e26882dc6..a98fd9f25 100644 --- a/roles/nominatim.rb +++ b/roles/nominatim.rb @@ -48,9 +48,16 @@ default_attributes( "kernel.sched_min_granularity_ns" => 10000000, "kernel.sched_wakeup_granularity_ns" => 15000000 } + }, + :swappiness => { + :comment => "Reduce swap usage", + :parameters => { + "vm.swappiness" => 10 + } } }, :nominatim => { + :enabled => true, :repository => "git://git.openstreetmap.org/nominatim.git" } )