Question
php-fpm optimal config 512Mb droplet with two wordpress
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
Add a comment
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.
×