Tuesday, September 29, 2009

ESX Host Loses Connectivity Briefly

I have seen this issue with ESX 3.5 Update 2 and Update 4, the host disconnects briefly from the console and there are no real error messages in VirtualCenter other than indicating the disconnection.

Some research revealed that this is due to a memory leak in hostd. To mitigate the issue, I increased the Service Console memory 800 MB and the modified the soft and hard memory limits in the config.xml file.

You can identify this issue from the following errors in /var/log/vmware/hostd.log:

[2009-09-29 01:25:54.857 'Memory checker' 19467184 warning] Current value 204800 exceeds soft limit 122880.
[2009-09-29 01:26:24.868 'Memory checker' 18668464 warning] Current value 204800 exceeds soft limit 122880.
[2009-09-29 01:26:54.879 'Memory checker' 3076465568 error] Current value 204852 exceeds hard limit 204800. Shutting down process.

To change the console memory configuration from the default of 272 MB with ESX 3.5 to the max of 800 MB, edit the memory settings from VirtualCenter under Configuration -> Memory -> Properties. This change requires a server reboot.

To change the hard/soft limits, add the following into the <config> section of /etc/vmware/hostd/config.xml
<hostdWarnMemInMB>300</hostdWarnMemInMB>
<hostdStopMemInMB>380</hostdStopMemInMB>

Do a restart on hostd process by:
service mgmt-vmware restart

No comments:

Post a Comment