Thanks for the advice, I will research.<br><br>
<div class="gmail_quote">On Wed, Jan 14, 2009 at 11:56 AM, Olivier Bonvalet <span dir="ltr"><<a href="mailto:nginx.list@daevel.fr">nginx.list@daevel.fr</a>></span> wrote:<br>
<blockquote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid" class="gmail_quote">Hello,<br><br>if you use a wrapper for PHP with for exemple "export PHP_FCGI_CHILDREN=16", then the opcode cache will be shared between 16 php instances.<br>
<br>If you have 4 or more CPU, you should try to use "xcache" instead of "apc" (and don't forget to adjust the xcache.count parameter), which give much better results for us (about 75% faster in high load).<br>
<br>Good luck,<br>Olivier<br><br>Joe Aston a écrit :<br>
<blockquote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid" class="gmail_quote">
<div class="Ih2E3d">I seem to remember using PHP APC with FastCGI was a bad idea because php-cgi processes couldn't share the same cache - they all required their own unique caches.<br><br>How many php-cgi processes are you running?<br>
<br></div>
<div class="Ih2E3d">On Wed, Jan 14, 2009 at 4:14 PM, Ilan Berkner <<a href="mailto:iberkner@gmail.com" target="_blank">iberkner@gmail.com</a> <mailto:<a href="mailto:iberkner@gmail.com" target="_blank">iberkner@gmail.com</a>>> wrote:<br>
<br> Does anyone have specific or "generic" optimization guidelines for<br> running Nginx in the following configuraiton?<br> - Dedicated Nginx server (1)<br> - PHP FPM<br> - FastCgi<br> - Dedicated DB Server<br>
- MySQL<br> Traffic on our site is increasing and I noticed that CPU<br> utilization on our Nginx server is going over 50%, primarily to<br> php-cgi processes. We are optimizing php using APC.<br> Any suggestions would be greatly appreciated (additional<br>
information can be provided).<br> Thanks<br> <br><br></div></blockquote><br><br></blockquote></div><br>