<div dir="ltr">     I can second the fact FreeBSD + nginx is a rocking combo. We've been running that for years under ever increasing traffic and it only requires a few basic adjustments to the OS, even fewer in 10 since a lot of system defaults were cranked up for modern times. Our current hardware handling nginx related duties are sporting Intel L5520 procs and have been in service since 2009, only now in the process of being replaced due to aging. If systems had a guaranteed infinite life these boxes would still be good for quite some time. If you go the Linux path it's probably a similar situation, nginx is likely not going to be the part of your stack which cracks first.<div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><b style="color:rgb(25,25,25)"><div style="color:rgb(0,0,0);font-weight:normal"><b style="color:rgb(25,25,25)"><font face="Lucida Grande" size="1"><div style="color:rgb(0,0,0);font-weight:normal"><span style="color:rgb(25,25,25);font-weight:bold">__________________</span></div><div style="color:rgb(0,0,0);font-weight:normal"><div style="margin:0px"><font color="#191919"><b><br></b></font></div><div style="margin:0px"><font color="#191919"><b>Scott Larson</b></font></div><div style="margin:0px"><div style="margin:0px"><font color="#007EFD"><span style="color:rgb(0,0,0)"><div style="margin:0px"><font color="#191919"><b><div style="margin:0px;font-weight:normal;color:rgb(120,120,120)"><span style="color:rgb(25,25,25)"><b><div style="margin:0px;font-weight:normal;color:rgb(120,120,120)">Systems Administrator</div></b></span></div><div style="margin:0px;font-weight:normal;min-height:8px"><br></div><div style="margin:0px;font-weight:normal"><b>Wiredrive/LA</b></div><div style="margin:0px;font-weight:normal"><a value="+13108238238" style="color:rgb(17,85,204)">310 823 8238 ext. 1106</a></div><div style="margin:0px;font-weight:normal"><a value="+13109432078" style="color:rgb(17,85,204)">310 943 2078</a> fax</div></b></font></div><div style="margin:0px"><font color="#2498FC"><a href="http://www.wiredrive.com/" style="color:rgb(17,85,204)" target="_blank">www.wiredrive.com</a></font></div><div style="margin:0px"><font color="#2498FC"><span style="color:rgb(0,0,0)"><div style="margin:0px;color:rgb(120,120,120)"><div style="margin:0px"><a href="http://www.twitter.com/wiredrive" style="color:rgb(17,85,204)" target="_blank"><font color="#2498FC">www.twitter.com/wiredrive</font></a></div><div style="margin:0px"><font color="#2498FC"><a href="http://www.wiredrive.com/facebook" style="color:rgb(17,85,204)" target="_blank">www.facebook.com/wiredrive</a></font></div></div></span></font></div></span></font></div></div></div></font></b></div></b></div></div></div>
<br><div class="gmail_quote">On Wed, Feb 18, 2015 at 11:01 AM, Rainer Duffner <span dir="ltr"><<a href="mailto:rainer@ultra-secure.de" target="_blank">rainer@ultra-secure.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> Am 18.02.2015 um 16:56 schrieb ragavd <<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>>:<br>
><br>
> Hi,<br>
> We are configuring the NGINX as a reverse proxy. We are expecting some 100<br>
> concurrent users or connections/sessions to be active at any given moment of<br>
> time. Right now the server is acting as a reverse proxy for only one<br>
> application. These concurrent users will connect predominantly between 6:00<br>
> AM to 7:00 PM. Based on this what should be the RAM and CPU configuration<br>
> for the NGINX server?<br>
><br>
<br>
<br>
What’s your hardware?<br>
<br>
It all depends on a couple of configuration-parameters.<br>
<a href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffers" target="_blank">http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffers</a><br>
<br>
If I’m correct, the default would be<br>
8*4k=32k per connection, which would result in a memory usage of 3.2MB with 100 concurrent connections.<br>
Of course, nginx itself would also need some memory.<br>
But nginx is quite thrifty IME.<br>
<br>
> Also is there a guideline or a blog entry which we can use to approximate<br>
> the system requirements of NGINX servers based on the concurrent user load?<br>
<br>
<br>
I use the above formula as a guideline.<br>
<br>
But I haven’t really had a situation where I was ever coming close to hitting a limit on the hardware or our (very modest) worker_connections default.<br>
If we get DDoSed, it’s usually so much crap-traffic that we have to route the affected network through a mitigation-service.<br>
<br>
<br>
> And also what will be preferred OS for NGINX server?<br>
<br>
<br>
I think the Tier 1 platforms are:<br>
 - FreeBSD 9+10 AMD64<br>
 - Cent OS 6+7 AMD64<br>
 - Ubuntu 12+14 AMD64<br>
<br>
NGINX Plus supports a couple of additional platforms, but I would assume the majority of the installation-base is on any of these three (and then some Debian installs).<br>
<br>
<a href="http://nginx.com/products/technical-specs/" target="_blank">http://nginx.com/products/technical-specs/</a><br>
<br>
For your use-case, it doesn’t really matter what OS you run, as long as it’s one of the above (or you know it really well).<br>
<br>
I think FreeBSD9+10 have the lowest hardware requirements, even without special tuning.<br>
<br>
<br>
<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></blockquote></div><br></div>