Virtual Machine Becomes Unresponsive with "Another task is already in progress" Error Due to Oversized Snapshot
search cancel

Virtual Machine Becomes Unresponsive with "Another task is already in progress" Error Due to Oversized Snapshot

book

Article ID: 399570

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

One of the virtual machines becomes unresponsive during routine operations. Attempts to shut down the VM or create/remove snapshots fail with the error message:

"Another task is already in progress."

This blocks further administrative tasks and affects normal VM operations

Environment

7.0 U3

Cause

During the scheduled backup activity, the backup solution creates a snapshot on the VM but fails to delete it post-completion. Over a period of time, this snapshot grows significantly—reaching over 2 TB in size. Due to the stale snapshot chain and underlying task lock, the VM becomes unresponsive, and common actions like shutdown or snapshot deletion throw errors.

Resolution

Please follow any one of the below steps to resolve the issue:

  1. Refer to the VMware official KB 1004340 to identify and cancel the stuck task. This helps release any backend lock on the VM.

  2. Restart the management agents on the ESXi host using the iLO/DRAC interface. This can help reset host-side services and clear stale states.

  3. If the above methods do not help, migrate or shut down all VMs on the affected ESXi host. Then, log in to the host via iLO/DRAC and perform a COLD Boot to reset the host state fully.

  4. Try excluding the VM from the backup schedule to see if the lock is released, then attempt to remove the snapshot.

  5. If the issue still persists even after all these steps, restoring the VM from a recent backup is recommended.

For best practices regarding VMware snapshot usage and cleanup, please refer to the official KB 318825.