This issue is resolved in NSX 6.4.6.
Issue 2337437 is documented in the NSX for vSphere 6.4.6 release notes:
https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.4/rn/releasenotes_nsx_vsphere_646.htmlWorkaround:
It is possible to disable NSX Distributed Firewall rule statistics collection using a REST API.
When disabling it in NSX 6.4.2, 6.4.3 or 6.4.4 only the 5 minutes periodic rule stats collection is disabled. The rule statistics collection caused by the NSX Distributed Firewall publish operations cannot be disabled in those version.
When disabling it in NSX 6.4.5, both 5 minutes periodic rule stats collection and the rule statistics collection caused by the NSX Distributed Firewall publish operations are disabled.
To disable NSX Distributed Firewall rule statistics collection, follow the steps below:
1. Retrieve the current DFW global configurations:
GET /api/4.0/firewall/config/globalconfigurationExample of expected output:
<globalConfiguration>
<layer3RuleOptimize>false</layer3RuleOptimize>
<layer2RuleOptimize>true</layer2RuleOptimize>
<tcpStrictOption>false</tcpStrictOption>
<ruleStatsDisabled>false</ruleStatsDisabled>
</globalConfiguration>2. Push the DFW global configuration with "<ruleStatsDisabled>true</ruleStatsDisabled>"
PUT /api/4.0/firewall/config/globalconfigurationExample of expected input:
<globalConfiguration>
<layer3RuleOptimize>false</layer3RuleOptimize>
<layer2RuleOptimize>true</layer2RuleOptimize>
<tcpStrictOption>false</tcpStrictOption>
<ruleStatsDisabled>true</ruleStatsDisabled>
</globalConfiguration>