X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/874fb8745063242272f3bcccc6de9829f2336583..db405a70ba031468f1599b380510e6592bbd5687:/roles/longma.rb diff --git a/roles/longma.rb b/roles/longma.rb index a22f08a05..b67537fa5 100644 --- a/roles/longma.rb +++ b/roles/longma.rb @@ -34,6 +34,7 @@ default_attributes( :versions => ["14"], :settings => { :defaults => { + :max_connections => "550", :work_mem => "240MB", :fsync => "off", :effective_io_concurrency => "500" @@ -41,15 +42,21 @@ default_attributes( } }, :nominatim => { - :state => "standalone", + :state => "off", :dbcluster => "14/main", :postgis => "3", + :enable_qa_tiles => true, :flatnode_file => "/ssd/nominatim/nodes.store", - :logdir => "/ssd/nominatim/log" + :logdir => "/ssd/nominatim/log", + :fpm_pools => { + "nominatim.openstreetmap.org" => { + :max_children => 200 + } + } } ) run_list( "role[equinix-dub]", - "role[nominatim]" + "role[nominatim-v4]" )