pid = /var/run/php-fpm.pid error_log = /dev/stderr emergency_restart_threshold = 10 emergency_restart_interval = 1m process_control_timeout = 10s ; In www.conf or your pool configuration file [www] ; Process manager settings pm = dynamic pm.max_children = 50 pm.start_servers = 5 pm.min_spare_servers = 5 pm.max_spare_servers = 35 pm.max_requests = 500 ; Timeout settings request_terminate_timeout = 300 [global] include=etc/php-fpm.d/*.conf