X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0ad5d49adcd3ca833168fd249e62ee75f3a9046d..f0669c5c4f6b6e0be40d788700ee18fe27643a77:/roles/longma.rb?ds=sidebyside diff --git a/roles/longma.rb b/roles/longma.rb index a8380824f..f8ff9cd87 100644 --- a/roles/longma.rb +++ b/roles/longma.rb @@ -34,38 +34,24 @@ default_attributes( :versions => ["14"], :settings => { :defaults => { + :max_connections => "550", :work_mem => "240MB", - :maintenance_work_mem => "10GB", - :random_page_cost => "1.5", - :effective_cache_size => "60GB", - :fsync => "off", + :fsync => "on", :effective_io_concurrency => "500" } } }, :nominatim => { :state => "standalone", - :enable_backup => false, - :enable_git_updates => true, - :dbadmins => %w[lonvia tomh], :dbcluster => "14/main", :postgis => "3", + :enable_qa_tiles => true, :flatnode_file => "/ssd/nominatim/nodes.store", - :config => { - :tokenizer => "icu" - }, :logdir => "/ssd/nominatim/log", - :tablespaces => { - "dosm" => "/ssd/tablespaces/dosm", - "iosm" => "/ssd/tablespaces/iosm", - "dplace" => "/ssd/tablespaces/dplace", - "iplace" => "/ssd/tablespaces/iplace", - "daddress" => "/ssd/tablespaces/daddress", - "iaddress" => "/ssd/tablespaces/iaddress", - "dsearch" => "/ssd/tablespaces/dsearch", - "isearch" => "/ssd/tablespaces/isearch", - "daux" => "/ssd/tablespaces/daux", - "iaux" => "/ssd/tablespaces/iaux" + :fpm_pools => { + "nominatim.openstreetmap.org" => { + :max_children => 200 + } } } )