-
Notifications
You must be signed in to change notification settings - Fork 320
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
[EKS][Fargate] [request]: Increase the ulimit for EKS Fargate #1013
Comments
ulimit -n unlimited also raises an error instead of going to the hard limit, which is annoying. |
Also experiencing this on our EKS Fargate cluster, leaving us to even wonder if this is a Fargate deal-killer. Meanwhile, it would be nice to have some sort of interface in order to take the ambiguity out of these limits; something AWS could respect - kubernetes/kubernetes#3595 |
Just to follow up on this one, is it |
For me nofile. Just got a EMFILE error this morning in fact. |
@mlanner-aws - Definitely hitting |
@mlanner-aws - Any ETA on getting this fixed in the Fargate EKS worker node AMIs? Can the |
No ETA yet, we're still discussing and prioritizing. It's unlikely we'll be able to get to this in 2020. |
@mlanner-aws - I want to believe that EKS Fargate is a viable product offering, but right now it feels like it isn't. I'm sure that an arbitrary hard-cap of PS - Shamelessly leveraging my Brent-powers to (hopefully) find an advocate in @brentley |
+1 |
The hard limits for Hard limit:
Soft limit
|
Thank you @jsidhu ! |
I'm still seeing the 4096 nofile limit for ECS Fargate. |
For ECS Fargate, you will need to edit your task definition and provide the relevant config for limits
|
Now the |
What is the maximum |
@tomaszdudek7 from Task Definition Parameters - Resource Limits
I assume that 1048576 is also the maximum? |
@danielcompton - this is bit confusing. This link tells default limits differently at least for hard limit.
I assume that maximum hard limit can be set to |
@SaloniSonpal can you please share some example of how to increase in case of eks.. because not able to find any relevant information on internet. |
@ngoyal16 unfortunately i don't think it is possible to increase on eks :( |
In the following doc it's only mentioned that "The default nofile and nproc soft limit is 1024 and the hard limit is 65535 for Fargate Pods.". Though, It's not clear if it's possible to change it. |
I tried multiple ways to increase the soft limit using k8s deployment yml as described in the following |
Community Note
Tell us about your request
Increase the ulimit hard limit for the EKS Fargate
Which service(s) is this request for?
EKS, Fargate
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Currently the hard limit for the ulimit is set to 4096 for a pod deployed in EKS Fargate. So, the soft limit of ulimit can only be set to the hard limit and it cannot be increased than the hard limit. Sometimes, there can be a requirement for higher ulimit than 4096.
Are you currently working around this issue?
No workaround as of now.
The text was updated successfully, but these errors were encountered: