X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0ad5d49adcd3ca833168fd249e62ee75f3a9046d..2853b414b3706db2890068f45a91b170058168cd:/roles/longma.rb diff --git a/roles/longma.rb b/roles/longma.rb index a8380824f..14a634c9c 100644 --- a/roles/longma.rb +++ b/roles/longma.rb @@ -34,38 +34,27 @@ 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 + } + }, + :config => { + :forward_dependencies => "yes" } } )