Ubuntu VM hanging with 100% CPU usage on one core

kevin4324234

Cadet
Joined
Sep 10, 2023
Messages
4
On my TrueNAS-SCALE-22.12.4 host, I'm running a Ubuntu VM solely for running docker containers. The VM has it's own LAN interface and IP address on a secondary port on the host machine.

After some amount of time running, the VM freezes up with 100% CPU usage on a single core. When the machine freezes, it cannot even be pinged. The CPU Usage graph looks like this:
1696761736572.png


Possible solutions I found on other posts and tried:
- Reducing the number of CPU cores assigned to the VM
- Changing the Network interface and the hard drives to VirtIO
- Change CPU from HostModel to HostPassthrough
 

Rchtr

Cadet
Joined
Jan 13, 2021
Messages
8
Same here. There was no change in the setup. Only upgrading TrueNas to latest version.

I will try your solutions. Thank you.

EDIT:
I have changed the cpu settings of the vm from 1 core and 8 threads to 1 core and 4 threads and it works as before. Thank you!
 
Last edited:
Top