Failing to Shut Down or Restart CVM

Last Updated At: 2025-10-21 09:10:00

When shutting down or restarting a CVM, there is a very small chance that the shutdown or restart will fail. If you encounter such a situation, you can troubleshoot and handle the CVM as follows.

Possible Reasons

  • CPU or memory usage is too high.
  • The CVM of the Linux operating system does not have an ACPI hypervisor installed.
  • The CVM with the Windows operating system takes too long to perform system updates.
  • The CVM does complete initialization when you first purchase the Windows CVM.
  • The operating system has certain software installed or itself may be damaged after being infected by a Trojan virus.

Troubleshooting

Checking CPU/Memory Usage

  1. Check CPU/memory usage based on the type of CVM operating system.
    • Windows CVM: In the CVM, right-click the Taskbar and select Task Manager.
    • Linux CVM: Perform the top command to check the information in the %CPU column and the %MEM column.
  2. Terminate processes with high CPU or memory usage based on actual CPU/memory usage.
    If it still cannot shut down/restart, perform a force shutdown/restart function.

Checking Whether the ACPI Management Program Is Installed

Note: This operation is for the CVM of the Linux operating system.

Perform the following command to check whether the ACPI process exists.

ps -ef | grep -w "acpid" | grep -v "grep"
  • If an ACPI process exists, perform a force shutdown/restart function.
  • If the ACPI process does not exist, install the ACPI management program. See Linux power management configuration for specific operations.

Checking Whether WindowsUpdate Is Running

Note: This operation is for the CVM of the Windows operating system.

On the Windows CVM operating system page, click Start > Control Panel > Windows Update to check whether any patches or programs are being updated.

  • When Windows is performing certain patch operations, it will do some processing when shutting down the system. At this time, the update time may be too long, resulting in shutdown/restart failure. It is recommended that you wait until the update of Windows is complete before attempting to shut down/restart the CVM.
  • If no patches or programs are being updated, perform the force shutdown/restart function.

Checking Whether The CVM Has Completed Initialization

Note: This operation is for the CVM of the Windows operating system.

When you first purchase the Windows CVM, the system distributes images through Sysprep, and the initialization process takes a little longer. Before initialization is completed, Windows will ignore the shutdown/restart operation, resulting in shutdown/restart failure.

  • If the Windows CVM you purchased is initializing, it is recommended that you wait until the initialization is complete before attempting to shut down/restart the CVM.
  • If the CVM has completed initialization, perform the force shutdown/restart function.

Checking Whether the Installed Software Is Normal

Use inspection tools or antivirus software to check whether the software installed in the CVM is normal or infected with Trojans, viruses, etc.

  • If any exception is found, it indicates that the system itself may be damaged, resulting in shutdown/restart failure. It is recommended that you uninstall the software, use security software to kill it or back up your data, and then reinstall the system.
  • If no exception is found, perform the force shutdown/restart function.

Force Shutdown/Restart Function

Note: Converge Cloud provides the force shutdown/restart function, which can be used when multiple attempts to shut down/restart the CVM fail. This operation will forcibly perform the shutdown/restart on the CVM, which may lead to data loss or file system corruption of the CVM.

  1. Log in to the CVM Console.
  2. On the instance management page, select the CVM to be shut down or restarted, and perform different operations based on actual needs.
    • Shut down the CVM: Click More > CVM Host Status > Shutdown.
    • Restart the CVM: Click More > CVM Host Status > Restart.
  3. In the Shutdown or Restart Instance window that pops up, select Force Shutdown or Force Restart and click OK.
    • Select Force Shutdown.
    • Select Force Restart.