-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Error: ENOSPC: System limit for number of file watchers reached #501
Comments
We're seeing this as well. This looks like it may be a resurfacing of In the us-west-2 EKS-optimized GPU AMI - ami-0489da41209229234 - we are seeing:
And for the non-gpu instances we are seeing |
Hitting the same issue with |
Seems this happens frequently in some web servers. We currently don't have specific setting for In the meanwhile, you can check following solution to mitigate the issue. sysctl settings are usually global kernel-level settings and containers share the host's kernel. they usually share the same sysctl values.
|
Hi @Jeffwan I am using AWS EKS 1.16 and EKS node max_user_watches value is 8192 and I am getting the following value on AMI
If I increase this value on EKS worker node, the pods can see this value. so there is nothing to do with docker. It should be fixed on AMI |
Right, container inherit node setting for this sys setting. Are you ok with custom change by your own or you think it's better to come up a generic way to configure when we build AMI, for example, pass options etc to make it customizable? @ismailyenigul |
I think the latter option is better. I can do it my own but this is not required only by me.
https://cloud.google.com/sdk/gcloud/reference/alpha/container/clusters/create |
Hitting this as well on EKS 1.18 - t3.2xlarge nodes |
Hi, |
is this fixed? |
I'm seeing the following on the latest AMI's:
So I'm going to close this. Let us know if this remains an issue. |
What happened:
I can't build a react native app in the pod runs on EKS cluster 1.6
I got Error: ENOSPC: System limit for number of file watchers reached due small value of fs.inotify.max_user_watches
What you expected to happen:
Increases fs.inotify.max_user_watches = 8192 value to something bigger
Anything else we need to know?:
Environment:
AWS Region:
eu-west-1
Instance Type(s): m5.large
EKS Platform version 1.16
AMI Version: AMI ID amazon-eks-node-1.16-v20200609 (ami-0a3879f5c5e608624)
Release information (run
cat /etc/eks/release
on a node):The text was updated successfully, but these errors were encountered: