Ubuntu VM keeps crashing randomly

Ubuntu Support Template

Ubuntu Version:24.04.4

Desktop Environment (if applicable):
N/A

Problem Description:
It ran with no issues for over a year. Suddenly a couple months ago it would start crashing randomly. Now it crashes multiple times a day with what appears to be I/O stalling errors.

When the VM crashes it has CPU shown to be maxed out with little to no I/O usage. Other VMs are unaffected until extended time with the affected VM unresponsive.

Since the issue began, I have created a new VM using packer to create the template. Once created, I have migrated all of my docker container data over and upped all my containers to resume where the previous VM had left off. This worked for about 20 days and no issues. As of last week it now crashes like before regularly. I have been unable to reproduce the issue.

Relevant System Information:
This Ubuntu installation is hosted as a VM under the xcp-ng hypervisor.

Normally under workload, I have 2x Ubuntu VMs running (One has the current issues and one is unaffected), 1 Debian 12 VM running Xen Orchestra, and One Windows 11 VM.

I am currently only running the affected VM and my Xen Orchestra VM.

Everything is stored on a 4TB NVMe SSD

CPU: Intel(R) Core™ i9-14900K

GPU: TU106 [GeForce RTX 2060 Rev. A], Raptor Lake-S GT1 [UHD Graphics 770] (Currently has pass-through enabled and not in use)

There is currently 20 total docker containers with 14 running currently.

Netbird, Authentik, GItLab (Not in Use), Traefik, Vaultwarden, Pelican (Not in Use), SearXNG, Paperless (Not in Use), Portainer, Dockhand, and Jellyfin (Not in Use)

Screenshots or Error Messages:

What I’ve Tried:
I have tried to isolate if any of the workload has been causing these crashes such as my GitLab docker container, making a new VM and moving the workload over to that one.