Unclean container shutdown due to "--fast" option

dlasher

Renowned Member
Mar 23, 2011
247
36
93
Having issues with "kernel:BUG: soft lockup - CPU#X stuck for 67s! [umount:xxxx]", being caused by PMX UI calling "vzctl stop xxx --fast"

Container, when "shutdown -h" inside container, shuts down fine. When stopped via UI, tends to hang box.

Is there any way to change the UI behavior to NOT use the "--fast" option when stopping, either for a specific container, or for the box as a whole?
 
Also worth noting, when you "shutdown -h now" proxmox, from the command-line, it appears to use "--fast" on all the containers as well. Would like to change that.
 
Use 'Shutdown' instead of 'Stop' on the GUI.

Thank you. How do you make that be the default for shutting down or rebooting the entire Proxmox box itself? It seems to call "stop" instead.

(I had a utility power issue today at one site, UPS got low, triggered box shutdown, box hung on "umount", powered off uncleanly.. .hence the question)
 
That is already the default.

But sadly not when you "reboot" from the proxmox command-line. Lots of unclean containers to follow.

For now shutdown and manual power button will have to do, or manually 'stopping' containers, then rebooting.
 
Argh, that's very bad! I've used expecially the acpid power button when I have a client or a collegue that needs to shutdown a headless proxmox server.
OMHO with shutdown and powerbuttong proxmox should cleanly shutdown all the vm, and then do a second pass to stop the ones that are still running (= did not reacted properly to the former shutdown)