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
70 70
 ;                                    of 'idle' processes is greater than this
71 71
 ;                                    number then some children will be killed.
72 72
 ; Note: This value is mandatory.
73
-pm = dynamic
73
+pm = ondemand
74 74
 
75 75
 ; The number of child processes to be created when pm is set to 'static' and the
76 76
 ; maximum number of child processes to be created when pm is set to 'dynamic'.
@@ -80,7 +80,7 @@ pm = dynamic
80 80
 ; CGI.
81 81
 ; Note: Used when pm is set to either 'static' or 'dynamic'
82 82
 ; Note: This value is mandatory.
83
-pm.max_children = 6
83
+pm.max_children = 50
84 84
 
85 85
 ; The number of child processes created on startup.
86 86
 ; Note: Used only when pm is set to 'dynamic'

Loading…
Cancel
Save