VM freezes irregularly

Tomorrow I will change back many of the bios tweaks I set to see if its still stable. PL2 12000, disabled IME, C-State limit to C3. I'll keep C-States enabled but remove the limit of C3.
 
2 days and 9 hours of uptime since I installed the 5.19.4 edge kernel... rock solid.
This is definitely positive. My Ubuntu VM was able to stay up for around 5 days previously on the 5.15.x Proxmox kernel so if everyone who's running the 5.19.x kernels all get to a week without freezing, we'll have a pretty good sample size on reliability.

I'd be interested to know what's changed in the kernel between 5.15.x to 5.19.x to improve stability - Fabian might be able to help us here...?
 
I'd be interested to know what's changed in the kernel between 5.15.x to 5.19.x to improve stability - Fabian might be able to help us here...?
Well.. We might have to dig into the Linux Kernel changelogs for that as the pve-edge-kernel maintainer is not the Fabian in our thread they just happen to share the same name.
My guess is simply that some added hardware drivers or microcodes that improved stability.

Btw, does anybody get this log in PVE's syslog after changing to5.19.4 kernel?

Code:
i2c i2c-6: sendbytes: NAK bailout.
 
  • Like
Reactions: gyrex
Well.. We might have to dig into the Linux Kernel changelogs for that as the pve-edge-kernel maintainer is not the Fabian in our thread they just happen to share the same name.
My guess is simply that some added hardware drivers or microcodes that improved stability.

Btw, does anybody get this log in PVE's syslog after changing to5.19.4 kernel?

Code:
i2c i2c-6: sendbytes: NAK bailout.
Hi, I did not get that log so far (my uptime: 1 day 6 hours without issues).
Please note that before kernel 5.19.4 install, I also tried to install intel-microcode package (as this is not installed by proxmox during installation). The intel-microcode package provides the latest microcode available for intel n5105 cpu and friends (processor family code: JSL) . I hoped this could help but crashes still occurred.
Now let's see how it goes with this new kernel....
 
Last edited:
  • Like
Reactions: BetaMaster
Hi, I did not get that log so far (my uptime: 1 day 6 hours without issues).
Please note that before kernel 5.19.4 install, I also tried to install intel-microcode package (as this is not installed by proxmox during installation). The intel-microcode package provides the latest microcode available for intel n5105 cpu and friends (processor family code: JSL) . I hoped this could help but crashed still occurred.
Now let's see hot it goes with this new kernel....
I'm confused. Were you running the 5.19.4 kernel on the host when the VM froze?
 
I am keeping kernel 5.15.39-4 on a NUC11ATKC4 to check in parallel if that version has somehow fixed the freezing.

Immagine 2022-08-29 190011.jpg
Two VMs running using Ubuntu Server 22.04 I will be reporting back.
 
I'm not sure if this is a disapointing news...
My OpenWRT vm crashes (and auto reboots) every 5 hours after installing pve-edge-kernel v5.19.4... I haven't caught up anything and I'm waiting for the next crash.. I'm running the following OpenWRT version and the weird thing is that, this VM NEVER crashed before..
1661825470833.png
I'll follow up the latest 5.19.5 kernel to see if it fixes anything. One thing to mention is that I am compiling the kernel MYSELF (although i dont think there should be problems with that), but if everyone else's edge-kernel is running smoothly, i guess there's not much to worry about.
 
I've been running my host with Proxmox Edge kernel 5.19.4 for almost two days with no crashes, whereas with any other kernel my OPNSense and Home Assistant VMs would crash every 4-5 hours. Here's the link if you want to try for yourselves:
https://github.com/fabianishere/pve-edge-kernel
Thanks a million for this. Was having the same problem on a N5105 system with I210 nics. Since installing 5.19.4, the system has been stable.
 
  • Like
Reactions: Valantur
I have a Debian 11 VM that was not working for more than 5hours...
After updating the kernel to 5.15.39-4-pve, I got a stability of 8 days, until the light went out in my house and it turned off.

Now i have it on at 16 hours.
 
  • Like
Reactions: rRobbie
I am keeping kernel 5.15.39-4 on a NUC11ATKC4 to check in parallel if that version has somehow fixed the freezing.

View attachment 40496
Two VMs running using Ubuntu Server 22.04 I will be reporting back.

A brief update.

After 2 days and 10 hours running the official 5.15.39.4, one of the four testing VMs froze tonight.
Capture.PNGThe other three VMs are running.

I am going to wait few more days to see the overall behavior before upgrading to 5.19.4 and hope it improves.
 
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!