Report this

What is the reason for this report?

php-fpm optimal config 512Mb droplet with two wordpress

Posted on 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



This textbox defaults to using Markdown to format your 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.

Ultimate optimization: <br>Replace PHP with HHVM

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.