<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Where is your upstream? Where is your pho executing? Do you have a CDN?</div><div><br></div>There’s three parts to this:<div>1 fix the bad OS defaults:</div><div>If you are using RHEL 6 this would mean:</div><div>Enabling tuned</div><div>Disabling THP</div><div>Increasing vm.min_free_kbytes</div><div>Reducing swappiness</div><div>2 generic web server specific configuration</div><div>Increasing # ephemeral ports</div><div>Adjusting ulimit</div><div>3 tuning specific to your workload.<br>UDP and TCP buffet size - should match BDP</div><div>NIC tuning - irq coalescing, 10G specific tuning, see CDN, melanox,redhat, hp suggestions for lie latency tuning.</div><div><br></div><div>That’s a start.</div><div><br></div><div>Peter</div><div><br></div><div><br></div><div><br><div id="AppleMailSignature" dir="ltr">Sent from my iPhone</div><div dir="ltr"><br>On Apr 19, 2019, at 6:37 PM, Rick Gutierrez <<a href="mailto:xserverlinux@gmail.com">xserverlinux@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="auto">Hi, some recommendation to optimize a server of 4gb ram and 4 core for reverse proxy, with ssl activated, brotli and centos 7 SO, when I speak of optimizing is to modify the sysctl.conf</div><div dir="auto"><br></div><div dir="auto">I need to support 12k in a couple of applications with php and <a href="http://asp.net">asp.net</a></div><div dir="auto"><br></div><div dir="auto">some experience advice?<br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">rickygm<br><br><a href="http://gnuforever.homelinux.com" target="_blank">http://gnuforever.homelinux.com</a></div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>nginx mailing list</span><br><span><a href="mailto:nginx@nginx.org">nginx@nginx.org</a></span><br><span><a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></span></div></blockquote></div></body></html>