Skip to content

Commit

Permalink
docs: add instructions to raise user.max_inotify_instances limit
Browse files Browse the repository at this point in the history
If this limit isn't raised, kata will fail with `failed to create
containerd task: failed to create shim task: Creating watcher returned
error too many open files: unknown` when running many containers.
  • Loading branch information
Freax13 committed Sep 25, 2024
1 parent 7dcda08 commit cab4402
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/getting-started/bare-metal.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Follow Canonical's instructions on [setting up Intel TDX on Ubuntu 24.04](https:
</TabItem>
</Tabs>

Increase the `user.max_inotify_instances` sysctl limit by adding `user.max_inotify_instances=8192` to `/etc/sysctl.d/99-sysctl.conf` and running `sysctl --system`.

## K3s Setup

1. Follow the [K3s setup instructions](https://docs.k3s.io/) to create a cluster.
Expand Down
1 change: 1 addition & 0 deletions tools/vale/styles/config/vocabularies/edgeless/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ Subresource
substituters
superset
Syft
sysctl
systemd
tardev
tarfs
Expand Down

0 comments on commit cab4402

Please sign in to comment.