Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MacOS] inotify instance limit reached #19848

Closed
valeriano-manassero opened this issue Sep 4, 2023 Discussed in #19847 · 2 comments · Fixed by #19849
Closed

[MacOS] inotify instance limit reached #19848

valeriano-manassero opened this issue Sep 4, 2023 Discussed in #19847 · 2 comments · Fixed by #19849
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. machine

Comments

@valeriano-manassero
Copy link

Discussed in #19847

Originally posted by valeriano-manassero September 4, 2023
This happens a lot on my dev instances especially using kind clusters.

It's pretty easy to solve it doing podman machine ssh and then echo fs.inotify.max_user_instances=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

There's a way to force this setup in vm by podman itself during init?

giuseppe added a commit to giuseppe/libpod that referenced this issue Sep 4, 2023
increase the number of inotify instances to 524288 instead of using
the default value of 128.

Closes: containers#19848

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@giuseppe
Copy link
Member

giuseppe commented Sep 4, 2023

opened a PR: #19849

giuseppe added a commit to giuseppe/libpod that referenced this issue Sep 4, 2023
increase the number of inotify instances to 524288 instead of using
the default value of 128.

Closes: containers#19848

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
giuseppe added a commit to giuseppe/libpod that referenced this issue Sep 4, 2023
increase the number of inotify instances to 524288 instead of using
the default value of 128.

Closes: containers#19848

[NO NEW TESTS NEEDED]

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@afbjorklund
Copy link
Contributor

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Dec 5, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. machine
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants