Skip to content

Colima still crashing under network load #603

@github-nicolas-stadler

Description

@github-nicolas-stadler

Description

My lima VM crashes as soon as network activity gets a little high (such as a Sabnzbd download starting).

Version

Colima Version: 0.5.0 (also tried with HEAD)
Lima Version: 0.14.2
Qemu Version:

Operating System

  • macOS Intel <= 12 (Monterrey)
  • macOS Intel >= 13 (Ventura)
  • macOS M1 <= 12 (Monterrey)
  • macOS M1 >= 13 (Ventura)
  • Linux

Output of colima status

No output. The command hangs forever unless I run killall limactl

Reproduction Steps

  1. Start colima with the command provided
  2. Start a couple of downloads via Sabnzbd/Torrent
  3. VM hangs and docker stops responding until I manually kill limactl

Expected behaviour

VM should be able to sustain network activity under some load.

Additional context

My Colima command:

$HOMEBREW_BIN_PATH/colima start --activate \
  --arch aarch64 \
  --cpu 8 \
  --disk 494 \
  --dns 1.1.1.1 \
  --dns 1.0.0.1 \
  --memory 16 \
  --mount $DOWNLOADS_PATH:w \
  --mount $SERVER_PATH:w \
  --mount $SERVER_DATA_PATH:w \
  --mount-type virtiofs \
  --network-driver slirp \
  --runtime docker \
  --ssh-agent \
  --vm-type vz

I tried slirp and gvproxy for the network driver but it doesn't seem to make much of a difference.
Interesting to note, Docker Desktop for Mac had similar issues but they seem to have been fixed in version 4.16 (no more crashes for me since then): docker/for-mac#6530

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions