Help debugging a 'stuck' VM #1666
Unanswered
EdwardMoyse
asked this question in
Q&A
Replies: 1 comment 10 replies
-
You can connect to the QMP socket, and use either QMP or HMP to help diagnose and troubleshoot.
HMP (Human) is recommended, see: https://qemu.readthedocs.io/en/latest/system/monitor.html |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm trying to test Lima for use in my organisation, but repeatedly when I try to compile a small part of our codebase as a test, the VM seems to become 'stuck' ... as in, the existing terminals become unresponsive, the
qemu
process stops using significant CPU on the host, andlimactl shell alma9
no longer works (after >30mins, nothing has happened).Initially I thought it was due to my using
vz
, but it happens also withqemu
. I also worried that the VM was running out of memory / disk, but I reduced the cores (currently 4, but I also tried with only 1) and increased the memory (currently it is 16 GiB) and added a 64GiB swap ... none of this seems to be anywhere close to being exhausted by the time it freezes (but since it can take an hour to freeze, it's hard to be absolutely sure). I also added a very large (>500GiB) Volume to work in to make sure the disk wasn't exhausted, and when the VM freezes it is less than 1% full. So it's not that either. I also tried increasing the working disk to 200 GiB:(I'm not completely sure what this command does and what this disk space refers to ... but it seemed worth a try).
When I try to stop the VM:
We do use our own filesystem (cvmfs) which I am running within the VM, so perhaps something is going wrong there ... but I'm not sure how to debug this? Or what to try next in general?
Thanks in advance for any tips!
Beta Was this translation helpful? Give feedback.
All reactions