浏览代码

php5-fpm performance tweaking

mw_28
Adrian Malacoda 2 年前
父节点
当前提交
7936a964e9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      configuration/php-fpm-pool.conf

+ 2
- 2
configuration/php-fpm-pool.conf 查看文件

@@ -70,7 +70,7 @@ group = www-data
; of 'idle' processes is greater than this
; number then some children will be killed.
; Note: This value is mandatory.
pm = dynamic
pm = ondemand

; The number of child processes to be created when pm is set to 'static' and the
; maximum number of child processes to be created when pm is set to 'dynamic'.
@@ -80,7 +80,7 @@ pm = dynamic
; CGI.
; Note: Used when pm is set to either 'static' or 'dynamic'
; Note: This value is mandatory.
pm.max_children = 6
pm.max_children = 50

; The number of child processes created on startup.
; Note: Used only when pm is set to 'dynamic'

正在加载...
取消
保存