]> git.openstreetmap.org Git - chef.git/commitdiff
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 78b1c01a523a39ec04af5d54ffff7a01dc58bb67..c711ee84d7946c2b2145267fb747b7c62a31a0f4 100644 (file)
@@ -9,8 +9,8 @@ group = www-data
 pm = <%= @pm %>
 pm.max_children = <%= @max_children %>
 pm.start_servers = 20
 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
 pm.max_requests = 1000000
 
 security.limit_extensions = .php .phpx .phpj
index f2f26683398689fe6d96391db8edcf0463bb1793..d640ec5f05b8305b11574bd0a9b60b4a3e7caf45 100644 (file)
@@ -55,7 +55,7 @@ default_attributes(
     :fpm_pools => {
         :www => {
             :pm => "dynamic",
     :fpm_pools => {
         :www => {
             :pm => "dynamic",
-            :max_children => "30"
+            :max_children => "25"
         },
         :bulk => {
             :pm => "static",
         },
         :bulk => {
             :pm => "static",