Today I noticed one of my event logs was flooded with events that I had not seen before upgrading to VMware tools 5.1. VMware so kindly describes it as such in KB 2036350, shown below. *Update* This issue is resolved in Patch ESXi510-201212402-BG. To download this patch see, VMware ESXi 5.1., Patch ESXi510-201212402-BG: Updates tools-light (2035778).
Upgrading to VMware Tools 5.1 causes log spew in the Windows Event Log: Error in the RPC receive loop
Symptoms
- In the Windows Application Event log, you see this error reported multiple times in quick succession (log spew):
Error in the RPC receive loop: RpcIn: Unable to send.
- In the
vmware.log
file for the virtual machine, you see log spew of this error:GuestRpc: Channel X reinitialized.
- User instances of
vmtoolsd.exe
crash with the error:Access violation (0xC0000005)
Resolution
To work around this issue and alleviate the symptoms, you can disable VMware Tools logging to the Event Log and general virtual machine logging to the vmware.log
file for the virtual machine.
To disable VMware Tools application event logging:
- Edit the
tools.conf
file in a text editor.Note: To locate the
tools.conf
file, see the Configuration File Location section in Enabling debug logging for VMware Tools within a guest operating system (1007873). - Add this section to the
tools.conf
file:[logging]
vmusr.level = error - Save and close the file.
- Restart the VMTools Service (Administrative Tools > Services).
To disable general virtual machine logging:
- Click the virtual machine in the Inventory.
- On the Summary tab for that virtual machine, click Edit Settings.
- In the virtual machine Properties dialog box, click the Options tab.
- Under Advanced, click General and deselect Enable logging.
- Click OK to save the change.
- To make the change take effect, power off the virtual machine and power it back on again.
Note: If you do not want to power off your virtual machine to disable logging, you can also vMotion the virtual machine after changing this setting.