vz: lima managed vm hangs with high CPU usage intermittently.
- Dominant language
- Go
- Stars
- 21.9k
- Forks
- 957
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 53
Description
#### Problem
Virtualization Framework intermittently starts consuming 100%-220%(from Activity Monitor) CPU and is unresponsive. This leads to all limactl commands being unresponsive or failing.
This intermittently happens when the lima vm is started and left alone for a while.
Behaviour observed
- limactl commands hang such as `limactl shell `.
- sometimes the command fails with RC 255
Once the vm gets to this state
All limactl commands fail.
#### Workaround
The way around it is to recreate vm.
#### Related issue
https://github.com/docker/for-mac/issues/6655
#### Expected behaviour
That the vm should not hang when the computer wakes up from sleep.
#### Host info
```
macOS version: 13.4
cpu brand: Apple M1 Pro
lima version: 0.16.0
```
Contributor guide
Assessment
This issue has not been assessed yet.