reduce php-fpm processes on pummelzacken
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 10 Apr 2015 13:59:42 +0000 (15:59 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 10 Apr 2015 13:59:42 +0000 (15:59 +0200)
cookbooks/nominatim/templates/default/fpm.conf.erb
roles/pummelzacken.rb

index 1b8a0c3cac3db272c09c24d4dbf1ab8e0ded24db..386769efcc42956fc7285e94131940cbbc0cd781 100644 (file)
@@ -17,6 +17,6 @@ pm.max_children = <%= @max_children %>
 pm.start_servers = 20
 pm.min_spare_servers = 10
 pm.max_spare_servers = 20
-pm.max_requests = 1000000
+pm.max_requests = 10000
 
 security.limit_extensions = .php .phpx .phpj
index cae7b6562ef225a84e988c6463bde8b836febb3f..00ecfe5e534674b47c23c0c6a975831ad61368a9 100644 (file)
@@ -43,7 +43,7 @@ default_attributes(
       :www => {
         :port => "8000",
         :pm => "dynamic",
-        :max_children => "70"
+        :max_children => "60"
       },
       :bulk => {
         :port => "8001",