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

[DOC] - Add troubleshooting doc for "too many open files" in kind cluster #495

Open
1 task done
asmacdo opened this issue Aug 6, 2024 · 1 comment · May be fixed by #496
Open
1 task done

[DOC] - Add troubleshooting doc for "too many open files" in kind cluster #495

asmacdo opened this issue Aug 6, 2024 · 1 comment · May be fixed by #496

Comments

@asmacdo
Copy link

asmacdo commented Aug 6, 2024

Preliminary Checks

Summary

Running the local deployment docs https://www.nebari.dev/docs/how-tos/nebari-local did not succeeed.

There were a couple of issues (DNS is still unresolved, but I'll post in a separate issue)

Steps to Resolve this Issue

kind cluster needs a higher ulimit

Resolved by:

sudo sysctl fs.inotify.max_user_watches=524288      
sudo sysctl fs.inotify.max_user_instances=512

I can add a blurb to https://www.nebari.dev/docs/troubleshooting or https://www.nebari.dev/docs/how-tos/nebari-local if that would be helpful :)

@viniciusdc
Copy link
Contributor

viniciusdc commented Aug 6, 2024

nebari.dev/docs/how-tos/nebari-local

that would be great 🚀

sudo sysctl fs.inotify.max_user_watches=524288      
sudo sysctl fs.inotify.max_user_instances=512

Strangely enough, I also remember doing this once, but I never encountered it again so I forgot it (should've documented), here's a link that you can add to a note in our PR if you feel comfortable with it https://kind.sigs.k8s.io/docs/user/known-issues/#pod-errors-due-to-too-many-open-files

asmacdo added a commit to asmacdo/nebari-docs that referenced this issue Aug 6, 2024
@asmacdo asmacdo linked a pull request Aug 6, 2024 that will close this issue
12 tasks
asmacdo added a commit to asmacdo/nebari-docs that referenced this issue Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo 📬
Development

Successfully merging a pull request may close this issue.

2 participants