jpbarroso
By:
jpbarroso

php-fpm optimal config 512Mb droplet with two wordpress

May 28, 2014 3.2k views
Hello. I've an 512Mb ubuntu droplet with 2 virtual servers with wordpress (low number of visits). I've optimized nginx, mysql, unnecesary processes... but php-fmp? i've found those recomendated params, are they ok? Thanks! php-fpm.conf ... emergency_restart_threshold = 10 emergency_restart_interval = 1m process_control_timeout = 5s pool.d/www.conf .... pm = dynamic pm.max_children = 10 pm.start_servers = 1 pm.min_spare_servers = 1 pm.max_spare_servers = 3 pm.process_idle_timeout = 10s; pm.max_requests = 1000 request_slowlog_timeout = 5s request_terminate_timeout = 120s
2 Answers
Ultimate optimization:
Replace PHP with HHVM
A vm made in facebook? !!! Looks great performance but ill wait some time,too hard for prod environments...
Have another answer? Share your knowledge.