further reduce fpm pool for nominatim
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 31 Jul 2013 15:38:25 +0000 (17:38 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 31 Jul 2013 15:38:25 +0000 (17:38 +0200)
cookbooks/nominatim/templates/default/fpm.conf.erb
roles/nominatim.rb

index 78b1c01..c711ee8 100644 (file)
@@ -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
index f2f2668..d640ec5 100644 (file)
@@ -55,7 +55,7 @@ default_attributes(
     :fpm_pools => {
         :www => {
             :pm => "dynamic",
-            :max_children => "30"
+            :max_children => "25"
         },
         :bulk => {
             :pm => "static",