X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0ad5d49adcd3ca833168fd249e62ee75f3a9046d..db405a70ba031468f1599b380510e6592bbd5687:/roles/longma.rb diff --git a/roles/longma.rb b/roles/longma.rb index a8380824f..b67537fa5 100644 --- a/roles/longma.rb +++ b/roles/longma.rb @@ -34,43 +34,29 @@ 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", :effective_io_concurrency => "500" } } }, :nominatim => { - :state => "standalone", - :enable_backup => false, - :enable_git_updates => true, - :dbadmins => %w[lonvia tomh], + :state => "off", :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 + } } } ) run_list( "role[equinix-dub]", - "role[nominatim]" + "role[nominatim-v4]" )