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