pfstatepl3 and pf_snat_pl3.root#: edge-appctl -t /var/run/vmware/edge/dpd.ctl fw/lr/show total-stats | json_pp
[
{
"uuid": "<UUID>",
"vrf": 1,
"pvi": 3,
"config-loaded": true,
"active": true,
"name": "SR-<Gateway-Name>",
"type": "SERVICE_ROUTER_TIER0",
"mp-router-id": "<UUID>",
"sync-enabled": true,
"connection-count": 4194124, <=========== High number of connections
NSX 1894731 FIREWALL [nsx@6876 comp="nsx-edge" subcomp="datapathd" s2comp="firewalldp" tname="dp-fw-purge11" level="ERROR"] pf_snat_port_delete_alarm_processing: failed to find snat hash entry. NAT addr: #######, daddr: #######, dport:#####, vrf: ###, num of snat ips crossing threshold: 0Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
VMware NSX
This is caused by VMs on a segment that are establishing large amount of connections which caused the datapath services to run out of memory to handle these connections.
A common scenario is when a Virtual Machine performing excessive network scanning are exhausting connection limits.
This is not a NSX issue. However, a workaround can be implemented to prevent a certain gateway from processing taking over too many connections and exhaust the mempool.
Workaround:
If this article did not help resolve your issue, you can review the following article for further information about Edge Datapath mempool usage high alarm