/var/log/syslog repeated logs similar to the following about sync attempts for a particular rule or failed IPsec SA negotiations:NSX 3707688 VPN [nsx@6876 comp="nsx-edge" subcomp="iked" s2comp="iked-sync-handler" level="INFO"] More that max ipsec sync records exist for rule <RULE ID>, discarding old entriesNSX 3707688 VPN [nsx@6876 comp="nsx-edge" subcomp="iked" s2comp="ike-stack" level="INFO"] IPsec SA negotiations: 75114 done, 40500 successful, 34614 failed/var/log/syslog you see logs like the following being logged regularly, which indicate that there is BGP flapping happening between the T0 router on the Edge and all its peers:<Edge VM Name> bgpd 1347073 - - %NOTIFICATION: sent to neighbor x.x.x.x 6/2 (Cease/Administratively Shutdown) 0 bytes<Edge VM Name> bgpd 1347073 - - %ADJCHANGE: neighbor x.x.x.x(Unknown) in vrf default Down Admin. shutdown<Edge VM Name> bgpd 1347073 - - %NOTIFICATION: sent to neighbor x.x.x.x 6/2 (Cease/Administratively Shutdown) 0 bytes<Edge VM Name> bgpd 1347073 - - %ADJCHANGE: neighbor x.x.x.x(Unknown) in vrf default Down Admin. shutdown<Edge VM Name> bgpd 1347073 - - %NOTIFICATION: sent to neighbor x.x.x.x 6/2 (Cease/Administratively Shutdown) 0 bytes
/var/log/syslog on the Edge similar log messages like the example below about the Edge entering and exiting maintenance mode:NSX 1347340 FABRIC [nsx@6876 comp="nsx-edge" subcomp="datapathd" s2comp="stats" tname="stats21" level="INFO"] trigger enter and exit maintenance modeNSX 3709127 FABRIC [nsx@6876 comp="nsx-edge" subcomp="datapathd" s2comp="stats" level="INFO"] mempool exhausted, usage: 88, threshold: 85, pool: sess_priv_mp_059857:2025-05-21T18:29:38Z datapathd 163922 stats tname="stats33" [ERROR] mempool sess_priv_mp_0 is exhausted (100% is used) errorCode="EDG0400710"in_use_count. This indicates memory exhaustion since the limit for in_use_count is 12000:NSX-T 3.x, 4.x
sess_priv_mp mempool size has been increased from 12K to 48K, and a change has been introduced to limit multiple IPsec SAs if the peer misbehaves by initiating duplicate SAs.Workaround: