fpm☞静态配置

阅读量: zyh 2018-05-11 11:14:00
Categories: > Tags:

QPS 800-1000

2*4 机器

[www01]
user = webapps
group = webapps
listen = /usr/local/php/var/log/php-fpm-www01.sock
listen.owner = webapps
listen.group = webapps
listen.backlog = 10240
listen.mode = 0666
listen.allowed_clients = 127.0.0.1
pm = static
pm.max_children = 300
pm.max_requests = 1024
request_slowlog_timeout = 1
request_terminate_timeout = 1
slowlog = /usr/local/php/var/log/php-slow.log
pm.status_path = /php-fpm_status