メモリリソースが少ないサーバでphp-fpmを稼働させるためのwww.confの設定。
--- www.conf.org 2018-10-16 08:29:28.381346560 +0900 | |
+++ www.conf 2018-10-16 09:41:21.542442575 +0900 | |
@@ -127,7 +127,7 @@ | |
; The desired maximum number of idle server processes. | |
; Note: Used only when pm is set to 'dynamic' | |
; Note: Mandatory when pm is set to 'dynamic' | |
-pm.max_spare_servers = 35 | |
+pm.max_spare_servers = 10 | |
; The number of seconds after which an idle process will be killed. | |
; Note: Used only when pm is set to 'ondemand' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment