Skip to content

Instantly share code, notes, and snippets.

@pandanote-info
Last active October 17, 2018 13:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
メモリリソースが少ないサーバで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