lima-vm / lima-vm/lima

"too many open files" error upon creating multiple Kind clusters on Lima VMs.

Open
#1,178 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

### Description

### Lima Version

```
$: lima --version
limactl version 0.12.0
```

### Host Vesrion

```
$: lima cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
```

### Problem Description

Starting multiple Kind clusters on Lima VMs created from the `docker-rootful` template causes control plane nodes to fail with EMFILE errors.

Increasing inotify limits per [Kind's documentation](https://kind.sigs.k8s.io/docs/user/known-issues/#pod-errors-due-to-too-many-open-files) resolves this.

The PR linked to this issue adds this change to the `provision` block for this template so that others don't run into this issue.

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.