From 29e707d543bf1f2d75e39b91ed5b66e0b0212f6d Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 12 May 2021 20:40:10 +0100 Subject: [PATCH] php: increase minimum base fpm to reasonable limits --- cookbooks/php/resources/fpm.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cookbooks/php/resources/fpm.rb b/cookbooks/php/resources/fpm.rb index 0178e64ce..abdc582c8 100644 --- a/cookbooks/php/resources/fpm.rb +++ b/cookbooks/php/resources/fpm.rb @@ -24,12 +24,12 @@ property :port, :kind_of => Integer property :user, :kind_of => String, :default => "www-data" property :group, :kind_of => String, :default => "www-data" property :pm, :kind_of => String, :default => "dynamic" -property :pm_max_children, :kind_of => Integer, :default => 5 -property :pm_start_servers, :kind_of => Integer, :default => 2 -property :pm_min_spare_servers, :kind_of => Integer, :default => 1 -property :pm_max_spare_servers, :kind_of => Integer, :default => 3 -property :pm_max_requests, :kind_of => Integer, :default => 500 -property :request_terminate_timeout, :kind_of => Integer, :default => 0 +property :pm_max_children, :kind_of => Integer, :default => 10 +property :pm_start_servers, :kind_of => Integer, :default => 4 +property :pm_min_spare_servers, :kind_of => Integer, :default => 2 +property :pm_max_spare_servers, :kind_of => Integer, :default => 6 +property :pm_max_requests, :kind_of => Integer, :default => 1000 +property :request_terminate_timeout, :kind_of => Integer, :default => 1800 property :environment, :kind_of => Hash, :default => {} property :php_values, :kind_of => Hash, :default => {} property :php_admin_values, :kind_of => Hash, :default => {} -- 2.39.5