I think the bottleneck may be the PHP, it is a piece of cake for ngx to handle 1k concurrent connections without any special tuning.<br><br><div class="gmail_quote">On Tue, Sep 20, 2011 at 4:40 AM, John Joseph Bachir <span dir="ltr"><j@jjb.cc></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">* might consider turning up keepalive to 65 <div>* depending on the nature of your content you might want to turn up when it expires -- example: expires 10m;</div>
<div>* looks like you have 2 workers per core -- typically a worker process per core is recommended (or maybe your have intel cores with "hyerthreding", in which case maybe 8 is the more relevant #</div>
<div> * what's your cpu load like? is your server cpu-bound or is IO the problem? if you can find some way to do fewer disk reads and more ram reads that will help</div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br><br clear="all"><br>-- <br><br><br>