diff --git a/roles/nginx/php-pool/templates/pool.conf b/roles/nginx/php-pool/templates/pool.conf index 58a9216..3544931 100644 --- a/roles/nginx/php-pool/templates/pool.conf +++ b/roles/nginx/php-pool/templates/pool.conf @@ -9,11 +9,12 @@ listen.group = {{ nginx_system_user }} listen.mode = 0660 pm = dynamic -pm.max_children = 8 -pm.start_servers = 4 -pm.min_spare_servers = 2 -pm.max_spare_servers = 6 -pm.max_requests = 1000 +pm.max_children = 128 +pm.start_servers = 16 +pm.min_spare_servers = 8 +pm.max_spare_servers = 32 +pm.max_requests = 512 +pm.process_idle_timeout = 10s clear_env = no