From: Sarah Hoffmann Date: Wed, 31 Jul 2013 15:38:25 +0000 (+0200) Subject: further reduce fpm pool for nominatim X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/fd5b662ae1ccede11c2f5eb67253f8cd3ae8a507 further reduce fpm pool for nominatim --- diff --git a/cookbooks/nominatim/templates/default/fpm.conf.erb b/cookbooks/nominatim/templates/default/fpm.conf.erb index 78b1c01a5..c711ee84d 100644 --- a/cookbooks/nominatim/templates/default/fpm.conf.erb +++ b/cookbooks/nominatim/templates/default/fpm.conf.erb @@ -9,8 +9,8 @@ group = www-data pm = <%= @pm %> pm.max_children = <%= @max_children %> pm.start_servers = 20 -pm.min_spare_servers = 20 -pm.max_spare_servers = 30 +pm.min_spare_servers = 10 +pm.max_spare_servers = 20 pm.max_requests = 1000000 security.limit_extensions = .php .phpx .phpj diff --git a/roles/nominatim.rb b/roles/nominatim.rb index f2f266833..d640ec5f0 100644 --- a/roles/nominatim.rb +++ b/roles/nominatim.rb @@ -55,7 +55,7 @@ default_attributes( :fpm_pools => { :www => { :pm => "dynamic", - :max_children => "30" + :max_children => "25" }, :bulk => { :pm => "static",