Browse Source

php5-fpm performance tweaking

mw_28
Adrian Malacoda 2 years ago
parent
commit
7936a964e9
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      configuration/php-fpm-pool.conf

+ 2
- 2
configuration/php-fpm-pool.conf View File

@@ -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'

Loading…
Cancel
Save