You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
We are now setting the default value of maxOpenFiles as 1024 which is a bit small, as it will sometimes cause ingress cannot start.
Even though we can set fs.file-max to a large value, but sometimes setting a too big value will cause nginx report error setrlimit(RLIMIT_NOFILE, 98976) failed (1: Operation not permitted).
So how about setting the minimum value as 64000 and this can fulfill most cases. If customer have large fs.file-max, they can enlarge ulimit -n to increase the value of rlimit.
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.):
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
We are now setting the default value of
maxOpenFiles
as 1024 which is a bit small, as it will sometimes cause ingress cannot start.Even though we can set
fs.file-max
to a large value, but sometimes setting a too big value will cause nginx report errorsetrlimit(RLIMIT_NOFILE, 98976) failed (1: Operation not permitted)
.So how about setting the minimum value as 64000 and this can fulfill most cases. If customer have large
fs.file-max
, they can enlargeulimit -n
to increase the value of rlimit.Comments? @aledbf
NGINX Ingress controller version:
0.9.0
Kubernetes version (use
kubectl version
):Environment:
uname -a
):What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
The text was updated successfully, but these errors were encountered: