diskplace Posted September 15, 2021 Share Posted September 15, 2021 (edited) I noticed a lot of my calls to VM related actions have gotten pretty slow. After pressing the button to the overview of VMs, the call to the "VMs" endpoint takes 6.5s to load, and additonally the call to "plugins/dynamix.vm.manager/include/VMMachines.php" takes 7.7s to load. So that's 14 seconds, just to display the single VM I have configured. When I try to create a new VM, the call to "AddVM" takes 7s according to my browser. "UpdateVM" actually seem to be the fastest at 5.7s. I don't recall it being this slow before, so something might have changed. According to Firefox, the majority of the request time is in "Receiving": I have tried another browser, which didn't make a difference and I tried deleting the libvirt.img as well. Finally, I have tried making curl requests from the unRAID server to itself, to exclude the possibility of network issues and the results were consistent with the slow load times. I have no idea where to go next, so any help is much appreciated. Edited September 18, 2021 by diskplace Solved the issue. Quote Link to comment
diskplace Posted September 18, 2021 Author Share Posted September 18, 2021 A hopeful bump. Quote Link to comment
diskplace Posted September 18, 2021 Author Share Posted September 18, 2021 I somehow managed to fix this. The issue still persisted this morning, but I removed "dynamix.s3.sleep.plg" and "preclear.disk.plg", because I was no longer using them. After the removal, the issue was gone right away and load speed for the VM actions is now around 250ms. I am not sure, if this is a one-off problem or even related to the two plugins. But for now, it seem to work. Reinstalling the two plugins, does not seem to trigger the issue again. Quote Link to comment
SimonF Posted September 18, 2021 Share Posted September 18, 2021 I have seen a similar issue when the isos attached to a VM is on an array disk that has to spin up. either moving to cache or removing from VM resolves issue for me. Quote Link to comment
diskplace Posted September 18, 2021 Author Share Posted September 18, 2021 I had previously removed the attached ISOs, because I thought that could be the issue as well. After a reboot however, the issue is back Is there any way to open an official ticket with the unraid team? Quote Link to comment
SimonF Posted September 18, 2021 Share Posted September 18, 2021 You will need to post diags for it to be looked at. Quote Link to comment
jslay Posted May 6, 2022 Share Posted May 6, 2022 (edited) This is happening to me (sometimes, it will just time out and I never get the tab to complete loading, left with a blank table). This started after I had my cache disks both die on me at the same time, wiping out existing VMs and libvirt. I got new cache drives in, got moved back onto cache drives, rebuilt new VMs from scratch (as I lost the img from before). When it timesout, I receive ERR_HTTP2_PROTOCOL_ERROR. I can refresh a few more times, and eventually, I will get the tab to load where I can manage my VMs via GUI again. I've made sure that everything is back on the SSD cache drives, and nothing is on spinning disk (including libvirt). Does feel like an issue with loading libvirt, as once I can eventually get it to load the VM tab, it will refresh normally with no issue for some time until the VM tab hasn't been accessed for a while. unraid-diagnostics-20220505-2312.zip Edited May 6, 2022 by jslay Quote Link to comment
alfredo_2020 Posted December 17, 2023 Share Posted December 17, 2023 @SimonF is correct in regards to having referenced isos from array having to spin up the disk before tab loads. The Fix: I edited all my windows VMs and removed the reference to the virt-io.iso which i have stored on array. And now the VM tab loads fast as normal. I never noticed this in the past because i kept my isos directory on cache but i moved it to array to clear up cache pool, and thats when this started happening. 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.