Avoid ESXi host to go into not responding status.
Symptoms:
esxcli esxcli command listCRITICAL:root:Exception:CRITICAL:root:Traceback (most recent call last): File "/bin/esxcli", line 46, in <module> from pyVmomi import vmodl, vim, SoapAdapter, VmomiSupport, Cache, MemoryErrorvmkernel.log have admission failure in path: ssh/python messages[YYYY-MM-DDTHH:MM:SS] cpu2:4918545)MemSched: 14635: Admission failure in path: ssh/python.4918545/uw.4918545[YYYY-MM-DDTHH:MM:SS] cpu2:4918545)MemSched: 14642: uw.4918545 (33688803) extraMin/extraFromParent: 64/64, ssh (748) childEmin/eMinLimit: 204785/204800[YYYY-MM-DDTHH:MM:SS] cpu2:4918545)MemSched: 14635: Admission failure in path: ssh/python.4918545/uw.4918545[YYYY-MM-DDTHH:MM:SS] cpu2:4918545)MemSched: 14642: uw.4918545 (33688803) extraMin/extraFromParent: 64/64, ssh (748) childEmin/eMinLimit: 204785/204800[YYYY-MM-DDTHH:MM:SS] cpu2:4918545)MemSched: 14635: Admission failure in path: ssh/python.4918545/uw.4918545[YYYY-MM-DDTHH:MM:SS] cpu2:4918545)MemSched: 14642: uw.4918545 (33688803) extraMin/extraFromParent: 64/64, ssh (748) childEmin/eMinLimit: 204785/204800
vmkwarning.log we can see messages similar to the following[YYYY-MM-DDTHH:MM:SS] cpu2:2757371)WARNING: MemSched: 11696: Group vsanperfsvc: Requested memory limit 0 KB insufficient to support effective reservation 7500 KB[YYYY-MM-DDTHH:MM:SS] cpu10:2760381)WARNING: UserSocketInet: 2244: python: waiters list not empty![YYYY-MM-DDTHH:MM:SS] cpu21:2790677)WARNING: LinuxThread: 381: python: Error cloning thread: -28 (bad0081)[YYYY-MM-DDTHH:MM:SS] cpu39:2791235)WARNING: UserParam: 1326: busybox: could not change group to <host/vim/vimuser/terminal/ssh>: Admission check failed for memory resource[YYYY-MM-DDTHH:MM:SS] cpu39:2791235)WARNING: LinuxFileDesc: 6270: busybox: Unrecoverable exec failure: Failure during exec while original state already lost
[root@ESXi-FQDN:~]uptime12:11:08 up 14 days, 21:28:56, load average: 0.94, 0.95, 0.95
Note: The preceding log excerpts are only examples. Date, time and environmental variables may vary depending on your environment.
VMware vSphere ESXi 6.5.x
VMware vSphere ESXi 6.7.x