Loading

×Sorry to interrupt
This page has an error. You might just need to refresh it.
[NoErrorObjectAvailable] Uncaught ReferenceError: addCTracking is not defined
Failing descriptor: {markup://c:KM_ArticleThemeLayout}

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

open-vm-tools memory leak causing very high NSX Edge memory usage (79643)

Last Updated: 9/29/2020Categories: Known IssueTotal Views: 8334Language:
English

1 like this article

Subscribe to get an email
newsletter with new updates

1 people found this helpful Please provide article feedback:

Symptoms

1. High Memory usage reported on Edge ~90%, followed by "out of memory" errors
2. Edge becomes unresponsive and unmanageable
3. Edge Automatically reboots
4. Critical warnings reported in UI (NSX Edge is out of memory. The Edge is rebooting in 3 seconds.
Top 5 processes are: {#}.)

Purpose

The purpose of this article is to provide awareness of a known issue where memory Leak can be seen with open-vm tools that is addressed in 6.4.8 release of NSX via 11.0.5 version of open-vm tools

Cause

This issue is caused by Open-VM tools running on NSX Edge that can cause high memory usage due to memory leak
Eventually NSX Edge becomes unmanageable and reboots automatically as a part of auto-recovery.
Sometime Edge needs to be be manually rebooted to clear high memory usage if an automatic reboot doesn't occur.

Verify this issue by below: (Log snippets vary from NSX  Edge to Edge/Version to Version)
1. Critical Alarms shown in UI (NSX Edge is out of memory. The Edge is rebooting in 3 seconds. Top 5 processes are: {#}.)
2. Check NSX Edge logs and verify memory usage warnings

2020-06-06T05:22:55+00:00 NSX Edge MsgMgr[1778]: [default]: [daemon.info] payload len:368 data:{"systemEvents":[{"moduleName":"vShield Edge Appliance","severity":"Critical","eventCode":"30149","message":"vShield Edge memory over used","timestamp":1591420975,"metaData":{"message":"Memory usage: 90.05%","details":" 1772 390456 987680 vmtoolsd 801 4156 200708 syslog-ng 7652 3716 67060 sync_path.pl 7406 2808 14144 sh 7382 2752 14140 runevery.sh "}}]
2020-06-06T05:26:18+00:00 NSX Edge kernel[]: [default]: [kern.warning] dcsms invoked oom-killer: gfp_mask=0x24201ca, order=0, oom_score_adj=0

2020-06-06T05:26:18+00:00 NSX Edge kernel[]: [default]: [kern.err] Out of memory: Kill process 1772 (vmtoolsd) score 817 or sacrifice child
2020-06-06T05:26:18+00:00 NSX Edge kernel[]: [default]: [kern.err] Killed process 1772 (vmtoolsd) total-vm:987756kB, anon-rss:384548kB, file-rss:244kB
2020-06-06T05:26:18+00:00 NSX Edge OOMChecker[1780]: [default]: [daemon.warning] OOM, top 5 memory used processes: 8347 54180 116972 VseEventProcess 801 3824 200708 syslog-ng 8349 2780 14144 sh 1780 2628 39876 VseOOMChecker.p 7652 2548 67060 sync_path.pl
2020-06-06T05:26:18+00:00 NSX Edge config[]: [default]: [daemon.info] INFO :: Utils :: ha: UpdateHaResourceFlags:
2020-06-06T05:26:18+00:00 NSX Edge MsgMgr[1778]: [default]: [daemon.info] Building event message
2020-06-06T05:26:18+00:00 NSX Edge MsgMgr[1778]: [default]: [daemon.info] correlation id:Event_502a1cba-7f73-2be8-49a6-5b96ce953aaf1591421178
2020-06-06T05:26:18+00:00 NSX Edge MsgMgr[1778]: [default]: [daemon.info] payload len:360 data:{"systemEvents":[{"severity":"Critical","message":"OOM happened, system rebooting in 3 seconds...","metaData":{"message":" 8347 54180 116972 VseEventProcess 801 3824 200708 syslog-ng 8349 2780 14144 sh 1780 2628 39876 VseOOMChecker.p 7652 2548 67060 sync_path.pl "},"timestamp":1591421178,"eventCode":30180,"moduleName":"vShield Edge Appliance"}]}
2020-06-06T05:26:21+00:00 NSX Edge shutdown[8425]: [default]: [user.notice] shutting down for system reboot

vsm.log

2020-06-06 13:28:18.992 XXX INFO SimpleAsyncTaskExecutor-1 EventServiceImpl:119 - - [nsxv@6876 comp="nsx-manager" subcomp="manager"] [SystemEvent] Time:'Sat Jun 06 13:27:21.000 xxx 2020', Severity:'Informational', Event Source:'edge-xxxxxxxx-xxxxxxxxx-xxxx-xxxxxxxxxxxx', Code:'30101', Event Message:'NSX Edge was booted', Module:'vShield Edge Appliance', Universal Object:'false

Edge System Process  via TOP command

USER   PID PPID %CPU %MEM  VSZ RSS NI TTY   STAT STIME  TIME COMMAND
root   1175 1147 0.0 67.3 943376 335868 0 ?    Sl  2018 07:05:47 /usr/local/bin/vmtoolsd --plugin-path=/usr/local/lib/open-vm-tools/plugins/vmsvc/

Impact / Risks

NSX Edge will not be manageable and services will impact.

Resolution

Currently, the resolution is via Open-VM tools version 11.0.5 which is shipped in NSX 6.4.8 release.
Customer must upgrade NSX Manager and other components to 6.4.8 version

Workaround

The only workaround is to reboot the Edge when there is a warning shown in UI for Memory usage i.e.
It gets critical when you see that Edge is constantly reporting high memory usage.
A critical alarm shall be generated something like i.e. Alarm 30180 OOM, If you are seeing this alarm in UI, that means OOM has occurred and system will try to recover it via an automatic reboot

You can find list of critical alarms and system event in -- https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.4/com.vmware.nsx.logging.doc/GUID-4CAA25F7-1EE7-4B8A-957E-52865F723C10.html

Related Information

https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.4/com.vmware.nsx.logging.doc/GUID-4CAA25F7-1EE7-4B8A-957E-52865F723C10.html

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware NSX for vSphere

VMware NSX Data Center for vSphere

Related Versions:

VMware NSX Data Center for vSphere 6.4.x

Take Our Survey

Support Assistant