php 慢配置文件

[root@localhost etc]# cat php-fpm.conf
[global]
pid = /usr/local/php/var/run/php-fpm.pid
error_log = /usr/local/php/var/log/php-fpm.log
log_level = notice

[www]
listen = /tmp/php-cgi.sock
listen.backlog = -1
listen.allowed_clients = 127.0.0.1
listen.owner = www
listen.group = www
listen.mode = 0666
user = www
group = www

pm = static
;pm.max_children = 512
pm.max_children = 1500
pm.max_requests = 5
pm.start_servers = 20
pm.min_spare_servers = 5
pm.max_spare_servers = 40
request_terminate_timeout = 0
request_slowlog_timeout = 0
slowlog = /home/log/php/$pool.log.slow
rlimit_files = 51200
rlimit_core = 0
catch_workers_output = yes
env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
env[OSTYPE] = $OSTYPE
env[MACHTYPE] = $MACHTYPE
env[MALLOC_CHECK_] = 2

posted @ 2019-04-16 09:01  滴滴滴  阅读(226)  评论(0编辑  收藏  举报