低配服务器php-fpm参考配置

[global]
pid = /www/server/php/74/var/run/php-fpm.pid
error_log = /www/server/php/74/var/log/php-fpm.log
log_level = notice
process_control_timeout = 10s
rlimit_files = 65535

[www]
listen = /tmp/php-cgi-74.sock
;listen = 127.0.0.1:9000
listen.backlog = 8192
listen.allowed_clients = 127.0.0.1
listen.owner = www
listen.group = www
listen.mode = 0666
user = www
group = www
pm = dynamic
pm.status_path = /phpfpm_74_status
pm.max_children = 30
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 20
request_terminate_timeout = 100
pm.max_requests = 100
request_slowlog_timeout = 30
slowlog = var/log/slow.log