[SOLVED] Windows VM reboot or shutdown causing 100% cpu on host

silencery

New Member
Oct 14, 2023
9
0
1
Hi proxmox community,

I've encountered a strange situation after updating to 6.8.12-1-pve and I'm hoping someone can help.
I recently tried to update a windows VM. Once Windows Update finished, I discovered the entire host crashes.

Digging a little deeper, i noticed that when issuing any shutdown command on this client, the proxmox host suddenly shoots to 100% CPU.
The only way to recover is a hard reboot of the host since even the shell becomes non-responsive.

This behavior seems to have only begun after a recent proxmox update (I went from 6.5 kernel to 6.8). I have not found anything in the logs which may point to the cause, but honestly, I'm not even sure which files to look at.

Where do I start to troubleshoot this?
Any pointers in the right direction would be appreciated.

Thanks!
 
Oh, do you mean this exists on 6.5 too? I didn't notice before.

Yes, that's correct. VM is on ZFS.
 
Thanks to your advice, I was able to confirm it is happening with 6.5 kernel too, so I can rule out 6.8 kernel.

Looks like I need to check ZFS now? Any tips for what to look for would be greatly appreciated.
 
Thanks so much!

After trying out your tips and hours of troubleshooting, i was finally able to narrow it down to a problem with a Google Coral PCI passthrough device (I've posted in the coral thread to see if anyone else can replicate this). Disabling the device allows the windows VM to start normally now.

It took much longer to troubleshoot since cold start is fine, and the problem only showed when rebooting the VM.
I had to resort to blindly changing configs since I didn't even know which logs to check. For future reference, is there a checklist of logs to check when something like this happens?
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!