Symptoms
- NSX Manager reports the following alarm : The datapath mempool usage for pfstatepl3 on Edge node X has reached 85% which is at or above the high threshold value of 85%- In the logs you have these entries :
2021-08-16T17:08:03.181Z edge1 NSX 6752 FABRIC [nsx@6876 comp="nsx-edge" subcomp="datapathd" s2comp="stats" level="INFO"] mempool exhausted, usage: 87, threshold: 85, pool: pfstatepl3
:2021-08-16T17:08:05.641Z edge1 NSX 6752 FABRIC [nsx@6876 comp="nsx-edge" subcomp="datapathd" s2comp="stats" tname="stats23" level="ERROR" eventId="vmwNSXEdgeMpoolUsage"] {"event_state":87,"event_external_reason":"Edge datapath memory usage is over 85%","event_src_comp_id":"6b8cdbf2-41e3-4deb-8f1e-6090c0605a22","event_sources":{"pool_name":"pfstatepl3"}}
2021-08-16T17:08:05.641889+00:00 edge1 3035a04f6373 5134 - - 2021-08-16T17:08:05Z datapathd 6752 stats tname="stats23" [ERROR] {"event_state":87,"event_external_reason":"Edge datapath memory usage is over 85%","event_src_comp_id":"6b8cdbf2-41e3-4deb-8f1e-6090c0605a22","event_sources":{"pool_name":"pfstatepl3"}} eventId="vmwNSXEdgeMpoolUsage"
Cause
pfstatepl3 is the mempool owned by the Gateway Firewall.This alarm occurred because of a memory leak in the firewall for terminated connections.
Impact / Risks
If there is insufficient memory available, new connections would not be accepted.
Resolution
This issue is fixed in NSX-T 3.2.1 and later versions
Workaround
Failing the Edge over will resolve the issue