louking / steeps

steeps wordpress theme
0 stars 0 forks source link

php-fpm optimization - memory issues #288

Closed louking closed 5 years ago

louking commented 5 years ago

after implementation of php 7.3, started seeing high memory utilization on server

for suggestions on how to tune see

louking commented 5 years ago

Mostly used values from https://guides.wp-bullet.com/adjusting-php-fpm-performance-low-memory/

2019-07-26 16:45 $ diff www.conf.initial www.conf
                  104c104
                  < pm = dynamic
                  ---
                  > pm = ondemand
                  115c115
                  < pm.max_children = 50
                  ---
                  > pm.max_children = 25
                  135c135
                  < ;pm.process_idle_timeout = 10s;
                  ---
                  > pm.process_idle_timeout = 10s;
                  141c141
                  < ;pm.max_requests = 500
                  ---
                  > pm.max_requests = 500