<html><body><div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Yes all of those changes you have mentioned have been made. </div><div><br data-mce-bogus="1"></div><div>Thanks</div><div>Brandon </div><div><br></div><div data-marker="__SIG_PRE__"><div><br></div><div><span></span><div><span style="font-size: medium;"><strong>Best Regards,</strong> <br>
</span> <span style="color: #666666;"><b><span style="font-family: arial, helvetica, sans-serif;">
Brandon Mallory</span><br>
Network & Systems Engineer<br>
<span style="color: #339999;"><b>MEDENT EMR/EHR</b><br>
</span> <span style="color: #666666;"><b>
15 Hulbert Street<br>
Auburn, NY 13021<br>
Phone: <span class="Object" id="OBJ_PREFIX _DWT174_com_zimbra_phone"><a href="callto:(315)-255-0900" target="_blank">(315)-255-0900</a></span><br>
Fax: <span class="Object" id="OBJ_PREFIX_DWT175_com_zimbra_phone"><a href="callto:(315)-255-3539" target="_blank">(315)-255-3539</a></span><a><br>
Web: <span class="Object" id="OBJ_PREFIX_DWT177_com_zimbra_url"></span></a><a target="_blank" href="http://www.medent.com">www.medent.com</a></b></span></b></span><b><b><br><br>
<img src="https://webmail.medent.com/zimbra/sigs/defmailsig_nocchit.jpg" style="border: 0pt none;"><br><br>
This message and any attachments may contain information that is protected by law as privileged and confidential, and is transmitted for the sole use of the intended recipient(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, copying or retention of this e-mail or the information contained herein is strictly prohibited. If you received this e-mail in error, please immediately notify the sender by e-mail, and permanently delete this e-mail.<br></b></b></div><div><b><b><br><span></span><br></b></b></div></div></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Reinis Rozitis" <r@roze.lv><br><b>To: </b>"nginx" <nginx@nginx.org><br><b>Sent: </b>Thursday, May 16, 2019 9:09:25 AM<br><b>Subject: </b>RE: Port Exhaustion - SQL<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">> We have made all the changed we could in the kernel to help with this but still hitting limits. <br><br>What changes have you made?<br><br>Usually the port limit is reached because of time wait sockets.<br>If not done already try with:<br><br>net.ipv4.ip_local_port_range = 1028 65535<br>net.ipv4.tcp_tw_reuse = 1<br>net.ipv4.tcp_fin_timeout = 30<br><br>Increasing the ephemeral port range (usually by default it starts around 30k so you effectively lose  30k ports - obviously adjust the lower limit to your application needs).<br>Then time wait socket reuse helps a lot and also decreasing the FIN timeout (the default is something like 60 seconds).<br><br><br>rr<br><br>_______________________________________________<br>nginx mailing list<br>nginx@nginx.org<br>http://mailman.nginx.org/mailman/listinfo/nginx<br></div></div></body></html>