UTM icon indicating copy to clipboard operation
UTM copied to clipboard

VM keeps freezing after Host suspend-and-resume

Open ckujau opened this issue 6 months ago • 0 comments

Describe the issue

Debian 12 (arm64) is installed as a headless VM and is running just fine. But when the host system is put to sleep while the VM is running, and woken up the next day, the VM wakes up just fine too but then sometimes freezes. When I'm connected to the VM via an SSH connection and every minute ~~or so~~ the VM freezes and does not react to any keyboard input. The VMs appears to be fine otherwise and I can work with the same VM over a whole week, with multiple suspend-and-resume cycles on the host, no crashes involved, only these intermittent freezes.

Configuration

  • UTM Version: utm@beta: 4.6.5
  • macOS Version: 15.5
  • Mac Chip: M3 Pro

Crash log
No crash, no crash log.

Debug log
To illustrate, the following logs in to a machine on the same network and let's just assume that this machine is very responsive, so it's really not a network issue:

$ while true; do date; ssh -p server date; sleep 1; echo; done
Thu May 29 23:10:06 CEST 2025
Thu May 29 23:10:06 CEST 2025

Thu May 29 23:10:07 CEST 2025
Thu May 29 23:10:08 CEST 2025

Thu May 29 23:10:09 CEST 2025
Thu May 29 23:10:09 CEST 2025

Thu May 29 23:10:10 CEST 2025
Thu May 29 23:10:20 CEST 2025    <=== 10 second delay!
[...]
Thu May 29 23:11:09 CEST 2025
Thu May 29 23:11:10 CEST 2025

Thu May 29 23:11:11 CEST 2025
Thu May 29 23:11:21 CEST 2025    <=== 10 second delay

Letting this run for a while showed that this repeats pretty much every 60 seconds. Again, this is a headless machine and mostly used to forward network traffic to somewhere else and it still does that, so these intermittent freezes are not noticable when it's not used for interactive logins (which I rarely do).

The following issues looked related, but not really:

  • #4732 - but since it's a headless machine in my case, no "scrolling" is involved here.
  • #2221 - again, no "display" involved here, just a terminal session
  • #378 - no Android image involved here, but a fairly stock Debian installation

ckujau avatar May 29 '25 21:05 ckujau