Is there a way to set the backlog in listener? #5402
Replies: 6 comments
-
Hi @rodericliu thanks for reporting! Be sure to check out the docs while you wait for a human to take a look at this 🙂 Cheers! |
Beta Was this translation helpful? Give feedback.
-
Hi @rodericliu, If you're using ingress resource, you can set if using
|
Beta Was this translation helpful? Give feedback.
-
hi @vepatel, Yes, it added a listen backlog in ingress nginx server block, but nginx complained a duplicate listener on 80. How did you solve it? Roderic Liu |
Beta Was this translation helpful? Give feedback.
-
Hi @rodericliu, In that case we'd recommend you to use custom-template for ingress in your configmap: https://github.com/nginxinc/kubernetes-ingress/tree/v1.12.0/examples/custom-templates#example you'll have to pass your whole ingress config there as we don't have a configmap key parameter for
|
Beta Was this translation helpful? Give feedback.
-
Hi @vepatel, Thanks for your help. I managed to fix it by the solution provided by you! Roderic Liu |
Beta Was this translation helpful? Give feedback.
-
@rodericliu Is there a way to specify the backlog in the latest builds ? or is it still via the custom template ?. If its via custom template then how does this co-exist with the streams ?. What I meant is those added via Transport CRD how can I get backlog added to the same ? |
Beta Was this translation helpful? Give feedback.
-
STORY DESCRIPTION WRITING IS IN PROGRESS
Background
The backlog parameter of the NGINX listen directive can be used to increase the backlog (maximum length for the queue of pending connections), which is by default 511 for Linux. This can be helpful if as an admin you have a high rate of incoming connections and you are getting uneven levels of performance (for example some connections appear to be stalling).
References:
Note: If you have multiple servers in NGINX for the same IP:port combination (like
*:8001
below), you only need to set the backlog once.Use Cases
80 and 443.Functional Requirements
Configuration
Normal Functioning
Edge Cases
Out of Scope
Acceptance Criteria
Aha! Link: https://nginx.aha.io/features/IC-175
Beta Was this translation helpful? Give feedback.
All reactions