Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure SNAT exhaustion - how do I know when it is happening?

We think we are having Azure SNAT exhaustion issues with a group of virtual machines within Cloud Foundry. The machines are not going through a load balancer. I've been through this document: https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-outbound-connections#snatexhaust

I want to find out how, if possible, to know if we are hitting SNAT exhaustion issues without having to open a support ticket with Microsoft. Remediating or preventing the SNAT issues is NOT what I'm asking about.

Thanks,

like image 340
T. Bowman Avatar asked Dec 04 '18 17:12

T. Bowman


People also ask

What causes SNAT port exhaustion?

The SNAT ports are used up when you have repeated calls to the same address and port combination. Once a port has been released, the port is available for reuse as needed. The Azure Network load balancer reclaims SNAT port from closed connections only after waiting for 4 minutes.

What is SNAT exhaustion?

SNAT exhaustion occurs when a backend instance runs out of given SNAT Ports. A load balancer can still have unused SNAT ports. If a backend instance's used SNAT ports exceed its given SNAT ports, it will be unable to establish new outbound connections.


1 Answers

For an Azure WebApp, click Diagnose and solve problems, then in search box type snat then click the SNAT Port Exhaustion item which appears as the result of your search.

like image 53
golfalot Avatar answered Sep 20 '22 06:09

golfalot