Hello. Up to this point was a bunch of Nginx + Apache2. Apache was there are so many resources over time. So many times I read about a bunch of Nginx + PHP-FPM, and decided to put it.
1) the site with the attendance of 80k a day
2) configuration of server: 32GB RAM, 8 cores, SSD. 1.4.6, Nginx, memcache, opcache enabled
After a long tuning fpm and nginx, with following config:
config site pastebin.com/u6BVkQzC
main config : pastebin.com/viyWGkjU
the main www pastebin.com/Y7iEmndn
config user pastebin.com/QDkjxeNa
When the flow of users be redirected to this server, in the top
appear the process php5-fpm , and some loaded almost all at 100%. Gradually the response from the server goes from 60ms to 2 seconds. c2n.me/3yvZfnD
All slow and clunky. In the logs this:
*an upstream response is buffered to a temporary file /var/lib/nginx/fastcgi/9/00/0000000009 while reading upstreamload average more than 10
Prompt, what not so made? There must be at least better than a bunch of Apache with nginx. I will be glad Your tip.UPD.
Buffer solved the problem, increased it, now the load average <= 4. It is normal for an opponent of 730k page views per day?