Shutdown Timeout Configuration
Overview
Shutdown timeout determines how long Proxmox waits for a VM to gracefully shut down before forcing a stop. Critical for data integrity and proper VM lifecycle.
Configure Shutdown Timeout
Default Timeout
# Default: 180 seconds
qm config 100 | grep shutdown-timeoutSet Custom Timeout
# Set 5 minute timeout
qm set 100 --shutdown-timeout 300
# Quick shutdown (1 minute)
qm set 100 --shutdown-timeout 60
# Extended shutdown (10 minutes)
qm set 100 --shutdown-timeout 600Timeout by OS
Windows
# Windows needs more time
qm set 100 --shutdown-timeout 300Linux
# Linux typically fast
qm set 100 --shutdown-timeout 120Application VMs
# Database/proxy VMs
qm set 100 --shutdown-timeout 600Shutdown Process
Graceful Shutdown
# Initiates ACPI
qm stop 100
# Sends shutdown signal
# Waits for timeoutForce Stop
# Immediate stop
qm stop 100 --forceStop 1
# Or
qm stop 100 --skiplocking 1Troubleshooting Shutdown
VM Won’t Shutdown
# Check shutdown status
qm monitor 100
# Force stop if needed
qm stop 100 --forceStop 1
# Then investigate
qm cleanup 100Timeout Too Short
# Increase timeout
qm set 100 --shutdown-timeout 600Global Shutdown Options
Cluster Shutdown
# Cluster-wide
pvecm cluster shutdown
# Timeout
pvecm cluster shutdown --timeout 300