darrenyorston Posted October 11, 2021 Share Posted October 11, 2021 I am having an issue with VMs freezing randomly. I dont see any problems in the log for the VM and its not causing an issue with the host machine. The VMs are completely unresponsiveness and require the VM to be forced shutdown and restarted. Are there any places other than the VM log where I can look for problems? Quote Link to comment
RiDDiX Posted October 15, 2021 Share Posted October 15, 2021 Hi darrenyorston, maybe you could provide a diagnostic log. But I am not sure to help you out, because I got the same problem. My Mac OS VM also Linux are working without any problems.. But Windows 10 - 11 VMs are also freezing randomly. Even my logs are "emtpy" not showing any problems... For me maybe my AMD Server, but not sure why, because with Unraid 6.9.2 this doenst happend... I dont know why and how to fix this. Quote Link to comment
RiDDiX Posted October 20, 2021 Share Posted October 20, 2021 On 10/11/2021 at 4:56 AM, darrenyorston said: I am having an issue with VMs freezing randomly. I dont see any problems in the log for the VM and its not causing an issue with the host machine. The VMs are completely unresponsiveness and require the VM to be forced shutdown and restarted. Are there any places other than the VM log where I can look for problems? Did you find anyway around your freezes? Would be interesting... Quote Link to comment
darrenyorston Posted October 21, 2021 Author Share Posted October 21, 2021 (edited) 11 hours ago, RiDDiX said: Did you find anyway around your freezes? Would be interesting... Not as yet, no. At the moment I see no errors in the VM logs. I do however see errors in the Libvirt Log: 2021-10-21 08:37:19.994+0000: 10790: warning : qemuDomainObjTaint:6075 : Domain id=3 name='Manjaro' uuid=93250046-5efe-9082-9009-bc183f6d4f6c is tainted: high-privileges 2021-10-21 08:37:19.994+0000: 10790: warning : qemuDomainObjTaint:6075 : Domain id=3 name='Manjaro' uuid=93250046-5efe-9082-9009-bc183f6d4f6c is tainted: host-cpu 2021-10-21 08:40:40.443+0000: 10788: warning : qemuDomainObjTaint:6075 : Domain id=4 name='Arch' uuid=fb5a38b0-6857-abb5-caba-1df6b23360a2 is tainted: high-privileges 2021-10-21 08:40:40.443+0000: 10788: warning : qemuDomainObjTaint:6075 : Domain id=4 name='Arch' uuid=fb5a38b0-6857-abb5-caba-1df6b23360a2 is tainted: host-cpu This was the log for the Manjaro VM when it crashed. Nothing draws my attention. I had to do a forced shutdown as the VM was frozen. ErrorWarningSystemArrayLogin -uuid 93250046-5efe-9082-9009-bc183f6d4f6c \ -display none \ -no-user-config \ -nodefaults \ -chardev socket,id=charmonitor,fd=31,server,nowait \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=utc,driftfix=slew \ -global kvm-pit.lost_tick_policy=delay \ -no-hpet \ -no-shutdown \ -boot strict=on \ -device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1 \ -device pcie-root-port,port=0x9,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \ -device pcie-root-port,port=0xa,chassis=3,id=pci.3,bus=pcie.0,addr=0x1.0x2 \ -device pcie-root-port,port=0xb,chassis=4,id=pci.4,bus=pcie.0,addr=0x1.0x3 \ -device pcie-root-port,port=0xc,chassis=5,id=pci.5,bus=pcie.0,addr=0x1.0x4 \ -device pcie-root-port,port=0xd,chassis=6,id=pci.6,bus=pcie.0,addr=0x1.0x5 \ -device pcie-root-port,port=0xe,chassis=7,id=pci.7,bus=pcie.0,addr=0x1.0x6 \ -device ich9-usb-ehci1,id=usb,bus=pcie.0,addr=0x7.0x7 \ -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pcie.0,multifunction=on,addr=0x7 \ -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pcie.0,addr=0x7.0x1 \ -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pcie.0,addr=0x7.0x2 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.2,addr=0x0 \ -blockdev '{"driver":"file","filename":"/mnt/user/domains/Manjaro/vdisk1.img","node-name":"libvirt-1-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"}' \ -device virtio-blk-pci,bus=pci.3,addr=0x0,drive=libvirt-1-format,id=virtio-disk2,bootindex=1,write-cache=on \ -netdev tap,fd=33,id=hostnet0 \ -device virtio-net,netdev=hostnet0,id=net0,mac=52:54:00:db:9c:d8,bus=pci.1,addr=0x0 \ -chardev pty,id=charserial0 \ -device isa-serial,chardev=charserial0,id=serial0 \ -chardev socket,id=charchannel0,fd=34,server,nowait \ -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \ -device vfio-pci,host=0000:44:00.0,id=hostdev0,bus=pci.4,addr=0x0,romfile=/mnt/user/isos/vbios/GTX1080.rom \ -device vfio-pci,host=0000:44:00.1,id=hostdev1,bus=pci.5,addr=0x0 \ -device vfio-pci,host=0000:45:00.3,id=hostdev2,bus=pci.6,addr=0x0 \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on 2021-10-21 08:47:16.522+0000: Domain id=6 is tainted: high-privileges 2021-10-21 08:47:16.522+0000: Domain id=6 is tainted: host-cpu char device redirected to /dev/pts/0 (label charserial0) 2021-10-21T08:52:46.745914Z qemu-system-x86_64: terminating on signal 15 from pid 10785 (/usr/sbin/libvirtd) 2021-10-21 08:52:48.146+0000: shutting down, reason=destroyed Edited October 21, 2021 by darrenyorston updated VM log. Quote Link to comment
RiDDiX Posted October 21, 2021 Share Posted October 21, 2021 Strange... For me just my Win 10 and Win 11 VMs are freezing up... My Mac OS - / Ubuntu - / Debian - VMs are running fine without any problems. May logs dont even provide any errors or warnings -.- Quote Link to comment
darrenyorston Posted October 21, 2021 Author Share Posted October 21, 2021 I thought the libvrt log would show that the VM has crashed. So I am presuming the problem is occuring before the error/s can be logged. Quote Link to comment
RiDDiX Posted October 24, 2021 Share Posted October 24, 2021 It is so sad. That this problem persists without any logs -.- I am getting mad and sad.... Quote Link to comment
Roudy Posted October 30, 2021 Share Posted October 30, 2021 I have the same issue with my Windows 10 VM. There are no logs in unRAID, libvirt, or on Windows that shows any kind of error. I notice that it seems to happen for me while playing a game and not really any other time. Quote Link to comment
RiDDiX Posted October 31, 2021 Share Posted October 31, 2021 For me it seems to do with 3D Acceleration. I dont know why. But for me it happens when I opened Firefox or any other programm which use hardware accelerations... And it not freezing instand it just need a few minutes... I dont know why... Quote Link to comment
Roudy Posted November 6, 2021 Share Posted November 6, 2021 I recently changed my VM from i440fx to Q35 and I haven't had the issue for a few days now. Might be something to try if you are still having the issue. Quote Link to comment
darrenyorston Posted November 11, 2021 Author Share Posted November 11, 2021 Still trying to work out my ongoing issues with VMs on unraid. At the moment I have been able to get my VMs to stop freezing. I have been disabling/enabling the VM manager and rebooting. Its taken a few restarts but at the moment VMs seem to not freeze. Though I am having an issue now where the mouse does not fucntion correctly when passed through. Everythign works fine when a VM boots into the live CD but once I restart the VM I find that my mouse activates on the opposite screen, I have two, to where the mouse pointer is. I can open the menu on my left screen by clicking in the position where the mouse would be on the other screen. Anyone else experienced this and found a solution? I have tried a variety of Linux VMs and its always the same. Quote Link to comment
RiDDiX Posted November 11, 2021 Share Posted November 11, 2021 (edited) My freezing issue went away. I found that the newer drivers (virtio) are making some problems with Win 11. I uninstalled them and my VM runs okish. Its not fast or very fluid, but it wont freeze up atm. Edited November 11, 2021 by RiDDiX Quote Link to comment
spotopolis Posted January 7, 2022 Share Posted January 7, 2022 I wanted to chime in here and I am having the same issue. My VM that is freezing is the latest version of PfSense (FreeBSD) that is locking up. No response from the console/ssh or the firewalls WebGUI. Nothing in the VMs logs or in UNRAIDS logs (even using the Enhanced Logs plugin). The only thing that kind of stood out to me was looking in the system processes in UNRAID, PfSense was recorded as using near half of my servers CPU resources (47% of my 24 total cores) . Im running a dual Xeon X5670 system but have VM CPU Pinning enabled for it ( cores/threads 8, 9, and 20, 21 ) Im not sure why its listed so high. In the VM, the PfSense WebGUI dash its only reporting 7%-10% CPU usage while the UNRAID Dashboard is reporting roughly the same for those cores. The update times look to be more frequent in the UNRAID dash, and I do see some quick jumps occasionally to around 40% on each of those 4 cores, but then falls right back down to single digit numbers. Is the 47% usage I'm seeing in the UNRAID logs reporting it as 47% of the 4 cores I have pinned, or is it reporting 47% of the 24 total cores in the system? I have another VM running Windows 8.1 Pro, with 4 cores pinned to it, and it has not frozen ever. I've only just had the PfSense VM freeze on me, and this is maybe the 2nd or 3rd time in 6 months to a year it has happened. The PfSense VM is my Firewall/Router for the whole house. When It freezes, I lose WAN connection, but my static LAN connections are all still working. I tried just restarting it from the VM popup menu in UNRAID and it didn't do anything. I had do Stop and Start the VM for it to come back up. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.