Customers also see vMotion fails with DFW vMotion Failure Alarm - "The DFW vMotion for DFW filter nic-##########-eth0-vmware-sfw.2 on destination host **** has failed and the port for the entity has been disconnected." as well as observing repeated alerts indicating high memory usage in the vsip-kentries heap, particularly during or after large-scale vMotion operations. This impacts is associated with a large number of address sets being marked as LOCAL instead of GLOBAL after vmotion and filter imports, resulting in memory bloat and failure to release heap post-import.
NSX 4.2.x
vDefend Firewall
When a host enters maintenance mode and multiple VMs are vMotioned off in bulk, each vNIC on these VMs triggers an import of its firewall filter. These filters contain address sets which, during import, are temporarily created as LOCAL addrsets.
Normally, after import, the NSX control plane (via cfgAgent) sets the GLOBAL_TABLES flag on the kernel interface (kif), converting these LOCAL addrsets into GLOBAL addrsets—ensuring efficient memory reuse. In this case, due to the high rate of filter imports (e.g., ~100 filters each with ~100 addrsets), the GLOBAL_TABLES flag could not be set in time. Consequently, LOCAL addrsets remained in memory and caused the vsip-kentries heap to cross critical thresholds.
Sample Logs:
Sample output showing high memory usage for vsip-kentries heap:
Heap zone details (inUse is significantly high):
Filter import appears successful in the logs:
However, GLOBAL_TABLES flag is not set on the imported filter:
LOCAL flag still present in addrset:
Large number of imports observed in a short span:
A permanent fix is being targeted for a future NSX release 9.0.x and above.
Workarounds (Until Fix is Available)
To mitigate the issue in existing environments:
Perform vMotion in smaller batches to avoid overwhelming the filter import process.
Use CIDR blocks or dynamic criteria in NSGroups rather than listing individual IP addresses.
Eliminate overlapping or excessively large dynamic groups to reduce addrset footprint.