How to tune nginx for 800-1200 concurrent connections?

John Joseph Bachir j at
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list