How to debug stuck VM / hang with no shell access? #422
Unanswered
ian-h-chamberlain
asked this question in
Q&A
Replies: 1 comment 10 replies
-
Could it be because you are building huge executables and it takes all the CPU time allocated + RAM allocated to the VM, making it unresponsive? Have you tried giving more RAM and CPU to the VM? |
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
-
Hello, recently I have been facing an issue while using Colima that I'm kind of at a loss for how to debug. The issue results in a state where I can no longer access any containers and not even the colima VM, and my only recourse is to
colima stop --force
and start again.Basically, something in my organization's build process (just a basic Makefile) causes the container and even the VM to lock up whenever I build certain targets with
make
. I cannot usecolima ssh
, nor anydocker
commands — they all seem to just hang forever when I try.Unfortunately, I can't share the code as it's private to our organization, but I'm hoping someone here might be able to help me get started on debugging this. I've tried adding different kinds of tracing to the build to see if I can figure out what specific command causes it, but so far I've had little luck.
Is there any kind of "backdoor" way into the VM or its filesystem that I might be able to use to help with this? At this point I'm just kind of stuck because I can't build anything using
colima
and I'm afraid I might have to switch to another solution for this use case, but I have had a great experience using it for other purposes so I'm hoping I can figure out how to work around or fix this. Thanks in advance!Beta Was this translation helpful? Give feedback.
All reactions