From: Sarah Hoffmann Date: Thu, 16 Dec 2021 13:35:28 +0000 (+0100) Subject: nominatim: tweak longma for production X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/bcbad79322503c0271008953786a9736393da764 nominatim: tweak longma for production --- diff --git a/roles/longma.rb b/roles/longma.rb index a22f08a05..338334faa 100644 --- a/roles/longma.rb +++ b/roles/longma.rb @@ -34,8 +34,9 @@ default_attributes( :versions => ["14"], :settings => { :defaults => { + :max_connections => "550", :work_mem => "240MB", - :fsync => "off", + :fsync => "on", :effective_io_concurrency => "500" } } @@ -44,8 +45,13 @@ default_attributes( :state => "standalone", :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 + } } )