Browse Source

Do not use too much process for php

pull/176/head
Maniack Crudelis 7 years ago
committed by GitHub
parent
commit
9659a845a6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      conf/php-fpm.conf

4
conf/php-fpm.conf

@ -96,12 +96,12 @@ pm = dynamic
; forget to tweak pm.* to fit your needs.
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
; Note: This value is mandatory.
pm.max_children = 10
pm.max_children = 3
; The number of child processes created on startup.
; Note: Used only when pm is set to 'dynamic'
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
pm.start_servers = 2
pm.start_servers = 1
; The desired minimum number of idle server processes.
; Note: Used only when pm is set to 'dynamic'

Loading…
Cancel
Save