Skip to content

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

@vsiravar

Description

@vsiravar

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 <vm name>.
  • 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

docker/for-mac#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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions