Hi everyone,
I am running a high traffic site with some friends and recently we switched from Apache to Nginx. We're having huge performance issues since then. When we hit about 300 visitors the site starts to load very slow. It can take about 10+ seconds for a page to load.
It only seems to be pages with PHP that loads slowly. We don't have the same issues on pages with pure HTML.
The php5-fpm.log is filled with error messages like this:
[13-Nov-2012 20:33:53] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 68 total children
[13-Nov-2012 20:33:54] WARNING: [pool www] server reached pm.max_children setting (70), consider raising it
We've tried to increase those values a lot, but that didn't do the trick.
Here's how our Nginx conf-file looks like for the moment:
http://pastie.org/private/z34p8ptvbvx0ss0yaxoa
Here's how our php5-fpm pool conf looks like:
http://pastie.org/private/egidjh4v7is492zoqr1g1w
Any help with this would really be appreciated!