X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/dbf7c55e6db5cfa92c0702bada70d4d9757fa39a..237631e34f8bf03cef94d0a1571657b0061cf0bc:/roles/dulcy.rb diff --git a/roles/dulcy.rb b/roles/dulcy.rb index ef153a918..447f6b524 100644 --- a/roles/dulcy.rb +++ b/roles/dulcy.rb @@ -1,6 +1,5 @@ name "dulcy" -description "Master role applied to dulcy -" +description "Master role applied to dulcy" default_attributes( :networking => { @@ -28,7 +27,7 @@ default_attributes( } }, :postgresql => { - :versions => ["9.4"], + :versions => ["9.5"], :settings => { :defaults => { :work_mem => "300MB", @@ -44,20 +43,17 @@ default_attributes( :flatnode_file => "/ssd/nominatim/nodes.store", :logdir => "/ssd/nominatim/log", :database => { - :cluster => "9.4/main", + :cluster => "9.5/main", :dbname => "nominatim", - :postgis => "2.1" - }, - :fpm_pools => { - :www => { - :port => "8000", - :pm => "dynamic", - :max_children => "60" - }, - :bulk => { - :port => "8001", - :pm => "static", - :max_children => "10" + :postgis => "2.2" + } + }, + :sysfs => { + :md_tune => { + :comment => "Enable request merging for NVMe devices", + :parameters => { + "block/nvme0n1/queue/nomerges" => "1", + "block/nvme1n1/queue/nomerges" => "1" } } }