diff --git a/.build/php-fpm.conf b/.build/php-fpm.conf index c7d234c..e506ac3 100644 --- a/.build/php-fpm.conf +++ b/.build/php-fpm.conf @@ -1,7 +1,12 @@ -# Increase max execution time -max_execution_time = 300 +pid = /var/run/php-fpm.pid +error_log = /dev/stderr +emergency_restart_threshold = 10 +emergency_restart_interval = 1m +process_control_timeout = 10s -# Increase process manager settings +; In www.conf or your pool configuration file +[www] +; Process manager settings pm = dynamic pm.max_children = 50 pm.start_servers = 5 @@ -9,8 +14,8 @@ pm.min_spare_servers = 5 pm.max_spare_servers = 35 pm.max_requests = 500 -# Increase request timeout -request_terminate_timeout = 300s +; Timeout settings +request_terminate_timeout = 300 [global] include=etc/php-fpm.d/*.conf