From: Sarah Hoffmann Date: Tue, 8 Aug 2023 09:49:25 +0000 (+0200) Subject: nominatim: reduce workers further X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/276eefc7bd3245f588c5b59cb8c4d22aad217d4c nominatim: reduce workers further The limiting factor is disk IO, which is saturated at around 250 connections. --- diff --git a/roles/longma.rb b/roles/longma.rb index f109a7cbb..179b334dc 100644 --- a/roles/longma.rb +++ b/roles/longma.rb @@ -48,7 +48,7 @@ default_attributes( :flatnode_file => "/ssd/nominatim/nodes.store", :logdir => "/ssd/nominatim/log", :api_flavour => "python", - :api_workers => 45, + :api_workers => 24, :api_pool_size => 10, :fpm_pools => { "nominatim.openstreetmap.org" => { diff --git a/roles/vhagar.rb b/roles/vhagar.rb index df5fe535d..b952a699f 100644 --- a/roles/vhagar.rb +++ b/roles/vhagar.rb @@ -33,7 +33,7 @@ default_attributes( :state => "standalone", :flatnode_file => "/srv/nominatim.openstreetmap.org/planet-project/nodes.store", :api_flavour => "python", - :api_workers => 38, + :api_workers => 24, :api_pool_size => 10, :fpm_pools => { "nominatim.openstreetmap.org" => {