Limit informational messages from the virtual machine to the VMX file to avoid filling the datastore and causing a Denial of Service (DoS). A DoS can occur when you do not control the size of a virtual machine's VMX file and the amount of information exceeds datastore capacity.

About this task

The virtual machine configuration file (VMX file) limit is 1 MB by default. This capacity is usually sufficient, but you can change this value if necessary. For example, you might increase the limit if you store large amounts of custom information in the file.

Note:

Consider carefully how much information you require. If the amount of information exceeds datastore capacity, a DoS can result.

The default limit of 1 MB is applied even when the tools.setInfo.sizeLimit parameter is not listed in the advanced options.

Procedure

  1. Log in to a vCenter Server system using the vSphere Web Client and find the virtual machine.
    1. In the Navigator, select VMs and Templates.
    2. Find the virtual machine in the hierarchy.
  2. Right-click the virtual machine and click Edit Settings.
  3. Select VM Options.
  4. Click Advanced and click Edit Configuration.
  5. Add or edit the tools.setInfo.sizeLimit parameter.