Optimize Nginx + PHP-FPM for 5 million daily pageviews Optimize Nginx + PHP-FPM for 5 million daily pageviews nginx nginx

Optimize Nginx + PHP-FPM for 5 million daily pageviews


2 minor tips:

  • if you use opcache, monitor it to check if its configuration (especially memory size) is ok, and avoid OOM reset, you can use https://github.com/rlerdorf/opcache-status (a single php page)

  • increase pm.max_requests to keep using same processes