lima-vm / lima-vm/lima

vz: lima managed vm hangs with high CPU usage intermittently.

Open
#1,609 22 comments 7 reactions 0 assignees View on GitHub
component/vz
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.