
VirtIO SCSI single and IO Thread by default, yesterday morning i had another Debian12 VM unresponsive (without snapshot this time) freezing at 01 Am for no apparent reason, i had a partial local console connection but no prompt, had too reboot (force reboot) to regain control over the VM. If i snapshot with Memory the same problem may occur.

It seems like you are using the (default in the backend)Hi
@fiona , all my VMs are usingVirtIO SCSI singleandIO Threadby default, yesterday morning i had another Debian12 VM unresponsive (without snapshot this time) freezing at 01 Am for no apparent reason, i had a partial local console connection but no prompt, had too reboot (force reboot) to regain control over the VM. If i snapshot with Memory the same problem may occur.
Regards,
View attachment 76667View attachment 76668
kvm64 Processor/CPU type, which is not recommended anymore nowadays. Can you try switching to x86-64-v2-AES or something close to your physical model: https://pve.proxmox.com/pve-docs/chapter-qm.html#_cpu_typeoct. 23 15:33:10 xxxxx kernel: clocksource: Long readout interval, skipping watchdog check: cs_nsec: 1000034688 wd_nsec: 1000034116#!/bin/bash
while true; do
stress -c 1 --timeout 1
sleep 0.5
done
while [ 1 ]; do date ; dd if=/dev/random of=/tmp/FILE-BIG-1G bs=1M count=1000 ;done
1048576000 octets (1,0 GB, 1000 MiB) copiés, 3,3899 s, 309 MB/ssaving VM state and RAM using storage 'vms'4.02 MiB in 0s1.12 GiB in 1s1.49 GiB in 2s1.80 GiB in 3s2.05 GiB in 4s2.36 GiB in 5ssnapshot create failed: starting cleanupTASK ERROR: unable to save VM state and RAM - qemu_savevm_state_complete_precopy error -51048576000 octets (1,0 GB, 1000 MiB) copiés, 4,84992 s, 216 MB/ssaving VM state and RAM using storage 'vms'1.51 MiB in 0s882.54 MiB in 1s1008.48 MiB in 2s1.22 GiB in 3s1.39 GiB in 5s1.56 GiB in 6s1.69 GiB in 7s1.84 GiB in 8s1.95 GiB in 9s2.10 GiB in 10s2.18 GiB in 11s2.19 GiB in 12scompleted saving the VM state in 13s, saved 2.44 GiBsnapshotting 'drive-scsi0' (vms:vm-111-disk-0)snapshotting 'drive-efidisk0' (vms:vm-111-disk-1)TASK OK1048576000 octets (1,0 GB, 1000 MiB) copiés, 11,4522 s, 91,6 MB/s1048576000 octets (1,0 GB, 1000 MiB) copiés, 17,3274 s, 60,5 MB/s1048576000 octets (1,0 GB, 1000 MiB) copiés, 35,1212 s, 29,9 MB/s1048576000 octets (1,0 GB, 1000 MiB) copiés, 253,325 s, 4,1 MB/soct. 23 17:32:15 debian12 kernel: clocksource: Long readout interval, skipping watchdog check: cs_nsec: 1076691946 wd_nsec: 1076691530Hi @fionaHi,
@derjoerg. Are you using theIO Threadsetting on for the VM disks? You might want to try and see if that helps. Turning it on also requires selecting theVirtIO SCSI singlecontroller.
Might also be worth giving a shot for other people in this thread.
apt install pve-qemu-kvm=8.1.5-6? A VM needs to be shut down and started again to be running with the newly installed QEMU binary. The Reboot button in web interface also works, reboot inside the VM is not enough!I am having the same issue. Took a snapshot with RAM as I did already several times before, and after the snapshot it was unresponsive. This is the output ofqm status <ID> --verbose
balloon: 4294967296
ballooninfo:
actual: 4294967296
free_mem: 363380736
last_update: 1727510890
major_page_faults: 11611
max_mem: 4294967296
mem_swapped_in: 0
mem_swapped_out: 8192
minor_page_faults: 1266619200
total_mem: 4105109504
apt install pve-qemu-kvm-dbgsym gdb and then, once the VM is sluggish or stuck after the snapshot, rungdb --batch --ex 't a a bt' -p $(cat /var/run/qemu-server/100.pid)
100 with the actual ID of the VM.Hi,Hello again,
today after 3 Snapshots (one everyday at 8:33) the VM crashes.
i use cv4pve-autosnap in crontab. did anyone know how to disable RAM-Snapshot? (--help cant help)
whats the downside of Snapshotting without RAM?
The GDB output can help to check if it is the same issue.To gather debug information, you can runapt install pve-qemu-kvm-dbgsym gdband then, once the VM is sluggish or stuck after the snapshot, run
replacingCode:gdb --batch --ex 't a a bt' -p $(cat /var/run/qemu-server/100.pid)100with the actual ID of the VM.
When will this patch be released?There is a preliminary patch on the mailing list now that might solve the issue for snapshot with RAM: https://lore.proxmox.com/pve-devel/20241030095240.11452-1-f.ebner@proxmox.com/T/#u
It's not yet in any released package.
The GDB output can help to check if it is the same issue.
We use essential cookies to make this site work, and optional cookies to enhance your experience.