Question

php-fpm optimal config 512Mb droplet with two wordpress

  • Posted May 28, 2014

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

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

A vm made in facebook? !!! Looks great performance but ill wait some time,too hard for prod environments…

Ultimate optimization: <br>Replace PHP with HHVM