Hi jerome.<br><br>With your additional inputs, Can I safely set following rules for personal use?<br>Of course, any configuration needs monitoring/tweaking. But I think its better to start with a base config which will be closer to the optimal config.<br>

<br><b>Now for...<br>worker_connections<br></b>1024/2048 are safe values. So its better if I leave them untouched.<br> <br> <span class="gI"><b>worker_processes</b><br>Number of CPU core or its multiplier (assuming u have dynamic application with decent caching)<br>

More process ==&gt;&gt; Less Dynamic and Lower </span><span class="gI">         
PHP_FCGI_CHILDREN </span><br><span class="gI">Less Process ==&gt;&gt; More Dynamic and Higher </span><span class="gI">         
PHP_FCGI_CHILDREN </span><br><span class="gI"><br></span><b><span class="gI">PHP_FCGI_CHILDREN<br></span></b><span class="gI">Using TOP command and looking at RES memory value. <br>Finding memory required by single instance of PHP. (in my case its 40MB and VIRT is 100MB!)<br>

Then doing arithmetic like:<br>[Available RAM] = (Actual RAM) - (100 M or more OS + 200 M for DB + 16M for nginx (I have 8 worker_process with 2MB memory for each ))<br>Then,<br></span><span class="gI"></span><span class="gI">         
PHP_FCGI_CHILDREN  = </span><span class="gI">[Available RAM] / Single PHP instances&#39; memory requirement<br><br>Sorry for trying to get mechanical here.<br><br></span>But I already started to have better insight into all configuration variables I was curious at.<br>

<br>Also are these numbers in anyway gets affected by fastcgi_cache - <a href="http://wiki.nginx.org/NginxHttpFcgiModule#fastcgi_cache">http://wiki.nginx.org/NginxHttpFcgiModule#fastcgi_cache</a><br>Does fastcgi_cache reduces load on fascgi-php ? <br>

<br>--<br>Rahul <br><br>