From: Sarah Hoffmann Date: Mon, 31 Jul 2023 09:31:19 +0000 (+0200) Subject: nominatim: tweak pool and worker settings for dulcy X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/2391256021129f4f5452f4269f46503330af45e3?ds=sidebyside nominatim: tweak pool and worker settings for dulcy --- diff --git a/cookbooks/nominatim/attributes/default.rb b/cookbooks/nominatim/attributes/default.rb index def731605..1edb544d2 100644 --- a/cookbooks/nominatim/attributes/default.rb +++ b/cookbooks/nominatim/attributes/default.rb @@ -16,7 +16,7 @@ default[:nominatim][:qa_repository] = "https://github.com/osm-search/Nominatim-D default[:nominatim][:qa_revision] = "main" default[:nominatim][:api_flavour] = "php" default[:nominatim][:api_workers] = 10 -default[:nominatim][:api_pool_size] = 20 +default[:nominatim][:api_pool_size] = 10 default[:nominatim][:fpm_pools] = { "nominatim.openstreetmap.org" => { diff --git a/roles/dulcy.rb b/roles/dulcy.rb index 55bcd41b0..9ef7d15c8 100644 --- a/roles/dulcy.rb +++ b/roles/dulcy.rb @@ -46,6 +46,8 @@ default_attributes( :flatnode_file => "/ssd/nominatim/nodes.store", :logdir => "/ssd/nominatim/log", :api_flavour => "python", + :api_workers => 14, + :api_pool_size => 10, :config => { :forward_dependencies => "yes" }