title: PHP spiking cpu usage
body: <p>I was testing my site with Jmeter to see how hundred threads would affect site performance and tested it with apache and mod_php and nginx with fastcgi. I noticed that the bottlebeck was always cpu in both apache and nginx. when I was looking at spu usage in nginx setup I could see that php cgi processes were taking all cpu. </p>
  
  <p>What can I do to decrease php cpu usage?</p>