How to tune nginx for 800-1200 concurrent connections?

John Joseph Bachir j at jjb.cc
Mon Sep 19 20:40:05 UTC 2011


* might consider turning up keepalive to 65
* depending on the nature of your content you might want to turn up when it
expires -- example: expires 10m;
* 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 #
 * 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20110919/6f124417/attachment.html>


More information about the nginx mailing list