wordpress / php-pfm config

1) Ram for php-fpm php.ini -> memory_limit = 512M or up -> max_execution_time = 60 or up
被多d ram php aka wordpress

2) /etc/php5/fpm/pool.d/www.conf https://www.if-not-true-then-false.com/2011/nginx-and-php-fpm-configuration-and-optimizing-tips-and-tricks/

follow forum that config
set 翻o岩 worker 數

3) swap https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04

but vm.swappiness=50 or up and vm.vfs_cache_pressure=80 or up

php 隊盡左 ram, 所以 用 swap, 個網 set 得好低 pressure, 可以高d

4) nginx
nginx.conf
-> worker_connections 1024

校多d workers