The purpose of this article is to let the users know of a VMFS heap related issue present in vSphere 7.0 and 7.0b releases.
Symptoms:
[YYYY-MM-DDTHH:MM:SS] cpu48:3479102)WARNING: Heap: 3651: Heap vmfs3 already at its maximum size. Cannot expand.
[YYYY-MM-DDTHH:MM:SS] cpu62:3479103)WARNING: Heap: 3651: Heap vmfs3 already at its maximum size. Cannot expand.
[YYYY-MM-DDTHH:MM:SS] cpu92:3909762)WARNING: Heap: 3651: Heap vmfs3 already at its maximum size. Cannot expand.
In vmkernel.log, the following log entries are observed:
[YYYY-MM-DDTHH:MM:SS] cpu21:5630454)WARNING: HBX: 2439: Failed to initialize VMFS distributed locking on volume 5eb9e8f1-f4aeef84-4256-1c34da50d370: Out of memory
[YYYY-MM-DDTHH:MM:SS] cpu21:5630454)Vol3: 4202: Failed to get object 28 type 1 uuid 5eb9e8f1-f4aeef84-4256-1c34da50d370 FD 0 gen 0 :Out of memory
[YYYY-MM-DDTHH:MM:SS] cpu21:5630454)Vol3: 4202: Failed to get object 28 type 2 uuid 5eb9e8f1-f4aeef84-4256-1c34da50d370 FD 4 gen 1 :Out of memory
[YYYY-MM-DDTHH:MM:SS] cpu21:5630454)WARNING: HBX: 2439: Failed to initialize VMFS distributed locking on volume 5eb9e8f1-f4aeef84-4256-1c34da50d370: Out of memory
[YYYY-MM-DDTHH:MM:SS] cpu21:5630454)Vol3: 4202: Failed to get object 28 type 1 uuid 5eb9e8f1-f4aeef84-4256-1c34da50d370 FD 0 gen 0 :Out of memory
[YYYY-MM-DDTHH:MM:SS] cpu21:5630454)Vol3: 4202: Failed to get object 28 type 2 uuid 5eb9e8f1-f4aeef84-4256-1c34da50d370 FD 4 gen 1 :Out of memory
eagerzeroedthick
file on VMFS datastore is an effective workaround. See the workaround section below for more details. vmkfstools -c 10M -d eagerzeroedthick /vmfs/volumes/datastore/eztDisk
vmkfstools -U /vmfs/volumes/datastore/eztDisk