/var/log/syslog
plus its logrotations. Filter through them for a timestamp when your issue occurs, don't just post the whole log please.Sep 15 12:21:04
. This appears to be a guest-triggered shutdown, so your VM decided to shut itself off, no PVE intervention.Hi Lamia,Indeed, the shutdown on both VMs is not due to PVE but is guest-triggered. It's because their licenses are expired.
Thanks a lot,
Lamia
Hi GregSeeing the same. I have hundreds of VMs across 6 clusters (78 nodes) and every day we have probably 15 or so VMs turn off with no indication as to why. Event viewer shows an unexpected shutdown, syslogs show no activity either.
Everything is on 7.x-x. I've tried updating a few of them to latest. I've also tried switch machine type from q35 to i440fx and it doesn't seem to be making a difference.
Hi Fabian,if the VM crashes (bug, faulty memory, ..) or is killed by the host kernel (e.g., because of running out of memory) that should be visible in the host logs - please take a look at the timespan surrounding the unexpected shutdown. if the VM shuts down from inside the VM, it is expected that the VM is stopped and the cause needs to be searched for inside the guest.
im sending you an attachment, the latest info from Journalctl -eHi Fabian,
i just saw the journalctl -e i saw the following error which is in Red.
May 30 14:27:46 proxmox QEMU[1049503]: KVM: entry failed, hardware error 0x80000021
May 30 14:27:46 proxmox QEMU[1049503]: If you're running a guest on an Intel machine without unrestricted mode
May 30 14:27:46 proxmox QEMU[1049503]: support, the failure can be most likely due to the guest entering an invalid
May 30 14:27:46 proxmox QEMU[1049503]: state for Intel VT. For example, the guest maybe running in big real mode
May 30 14:27:46 proxmox QEMU[1049503]: which is not supported on less recent Intel processors.
May 30 14:27:46 proxmox kernel: set kvm_intel.dump_invalid_vmcs=1 to dump internal KVM state.
May 30 14:27:46 proxmox QEMU[1049503]: EAX=002d0b18 EBX=d139f180 ECX=00000001 EDX=00000000
May 30 14:27:46 proxmox QEMU[1049503]: ESI=8d49c040 EDI=8f885080 EBP=fff17a40 ESP=fff17840
May 30 14:27:46 proxmox QEMU[1049503]: EIP=00008000 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=1 HLT=0
May 30 14:27:46 proxmox QEMU[1049503]: ES =0000 00000000 ffffffff 00809300
May 30 14:27:46 proxmox QEMU[1049503]: CS =ba00 7ffba000 ffffffff 00809300
May 30 14:27:46 proxmox QEMU[1049503]: SS =0000 00000000 ffffffff 00809300
May 30 14:27:46 proxmox QEMU[1049503]: DS =0000 00000000 ffffffff 00809300
May 30 14:27:46 proxmox QEMU[1049503]: FS =0000 00000000 ffffffff 00809300
May 30 14:27:46 proxmox QEMU[1049503]: GS =0000 00000000 ffffffff 00809300
May 30 14:27:46 proxmox QEMU[1049503]: LDT=0000 00000000 000fffff 00000000
May 30 14:27:46 proxmox QEMU[1049503]: TR =0040 d13ae000 00000067 00008b00
May 30 14:27:46 proxmox QEMU[1049503]: GDT= d13affb0 00000057
May 30 14:27:46 proxmox QEMU[1049503]: IDT= 00000000 00000000
May 30 14:27:46 proxmox QEMU[1049503]: CR0=00050032 CR2=00000030 CR3=7dd21000 CR4=00000000
May 30 14:27:46 proxmox QEMU[1049503]: DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
May 30 14:27:46 proxmox QEMU[1049503]: DR6=00000000ffff0ff0 DR7=0000000000000400
May 30 14:27:46 proxmox QEMU[1049503]: EFER=0000000000000000
May 30 14:27:46 proxmox QEMU[1049503]: Code=kvm: ../hw/core/cpu-sysemu.c:77: cpu_asidx_from_attrs: Assertion `ret < cpu->num_ases && ret>
can you maye tell me what the problem can be ?
Regards
Hi Fabian,see https://forum.proxmox.com/threads/vm-shutdown-kvm-entry-failed-hardware-error-0x80000021.109410/ - seems to be an issue affecting some CPU/guest combinations with the most recent kernel updates.
just for a quick update, the VM was just for 24 hours on, then same problem, it seems that it is Kernel Prob i have to do a downgrade :/Hi Fabian,
Thank you for your reply.
i had a WinServer 2022 10 Core on my VM installed. i had to bring some changes in my hardware (Processors, i had 2 Sockets and 5 cores, i changed it to 1 Socket and 10 Cores) it is strange cuz it was working fine and just after an Update not anymore.
since i changed the settings, the VM is on and working fine, i have to wait till tomorrow.
Regards
Knight
Hello,just for a quick update, the VM was just for 24 hours on, then same problem, it seems that it is Kernel Prob i have to do a downgrade :/
Did you check the syslog for OOM messages?Hello,
did you downgrade?
on which version downgraded?
i have a same problem, vm shutdown unexpectedly.
cat /var/log/syslog | grep OOM
arc_summary
. If your nodes run out of RAM and the ARC can't be freed fast enough so OOM killer will trigger and kill VMs you could manually limit your ARC size like describes here: https://pve.proxmox.com/wiki/ZFS_on_Linux#sysadmin_zfs_limit_memory_usageWe use essential cookies to make this site work, and optional cookies to enhance your experience.