WARNING: Heap: 3583: Heap VMKAPI-char-metadata already at its maximum size. Cannot expand. WARNING: Heap: 3583: Heap VMKAPI-char-metadata already at its maximum size. Cannot expand.
Note:The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
Environment
VMware vSphere ESXi 6.x
Cause
This issue occurs due to one of these reasons:
A slow memory leak in the VMKAPI-char-metadata heap.
When the ESXi host is using the mpt2sas or mptsas drivers.
Resolution
This issue is resolved in VMware ESXi 6.0, Patch Release ESXi600-201608001.
To work around this issue:
SSH to the host.
To check the heap memory usage: $ vsish -e get "/system/heaps/`vsish -e ls /system/heaps | grep VMKAPI-char-metadata`stats" | grep "percent free of max size:"
If the heap memory usage is identified to be above 90%, schedule a planned reboot of the host.