From bcbad79322503c0271008953786a9736393da764 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 16 Dec 2021 14:35:28 +0100 Subject: [PATCH] nominatim: tweak longma for production --- roles/longma.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 + } } ) -- 2.39.5