Steps to Resolve
For 4.2.0 and higher
Recommended Action:
To avoid unexpected behavior in the monitored agent and process termination due to further increase in the memory usage you will need to try to reduce memory usage using the following procedure.
Note: Even after reducing workload or vMotioning VMs to less-loaded hosts, the memory reservation for the affected agent may remain elevated. The alarm will not clear unless the respective agent is restarted.
To confirm memory usage:
- Run on ESXi as root user: nsxcli -c get firewall thresholds
- If usage is within the limits, check the memory reservation values
- Run root user on ESXi: memstats -r group-stats -s name:min:max:consumed:conResv -u mb -g `vsish -e set /sched/groupPathNameToID host vim vmvisor vdpi`
- If conResv is high even though usage is low, the agent is holding onto elevated reservation values. This condition does not clear automatically.
- In this case, the agent needs to be restarted: /etc/init.d/{agent-name} restart
Agent Information:
- nsx-cfagent:
- Gather information about operations performed prior to observation of the alarm.
- If the prior operation was adding more DFW rules and groups, please pause further additions until the alarm is cleared.
- If workloads were vMotioned onto the host prior, please consider moving those workloads to less loaded hosts.
- If the alarm persists, please consider moving some workloads to less loaded hosts.
- If other attempts to clear the alarm failed, please consider restarting the agent.
- nsx-vdpi:
- Gather information about DFW L7 rules (rules with a context profile attached).
- The alarm relates to the high number of L7 flows needing inspections.
- Please consider refining the L7 rule to restrict only L7 flows for inspections.
- Please consider moving some workloads to less loaded hosts.
- If other attempts to clear the alarm failed, please consider restarting the agent. Note: L7 inspections will be interrupted during agent restart.
- Perform a restart of the agent:
- Other agents: ESXi:
- Login to the ESXi node as root
- Restart agent {agent_name} by `/etc/init.d/{agent_name} restart`.
Maintenance window required for remediation? No