lima-vm / lima-vm/lima

Certain node.js/amd64 workloads cause container to become unresponsive/100% CPU when using Rosetta

Open
#2,131 6 comments 1 reaction 0 assignees View on GitHub
arch/ARM component/vz kind/external
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

### Description

limactl version 0.19.1, macOS 14.2.1, using Colima 0.6.7 with Rosetta enabled.

On one of our internal projects, an amd64 Docker build seems to hang forever when Rosetta is enabled. I'm also able to reproduce it with the Dockerfile in https://github.com/docker/for-mac/issues/6998, by running `docker run --platform linux/amd64 jbinto/rosetta-what`. This feels different from https://github.com/lima-vm/lima/issues/1609 because the VM itself isn't unresposive; I'm able to SSH into the VM and run `htop` and see that `/mnt/lima-rosetta/rosetta /usr/local/bin/node index.js` is using 100% CPU.

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.