Replies: 1 comment 4 replies
-
Hey @f0rkz, 1024 is not a limit for us, just a common value that we are using. It's probably something that could be made configurable. I'm curious if you're seeing any traffic dropped or being affected? If not, then it may be okay since it's just a warning, though I can't speak for the behavior if the load increases and the issue also worsens. Also, have you increased the number of replicas you are running? That may help distribute connections to more nginx instances and avoid this. Another potential workaround is to edit the base nginx.conf and build a custom container image to use with that conf. There is also a blog that describes how you can mount a custom base nginx config into the Deployment, but we are in the process of changing our architecture to split the controller and nginx into separate pods for our upcoming 2.0 release, so this blog approach may not continue to work at that point. |
Beta Was this translation helpful? Give feedback.
-
Greetings and salutations!
I wanted to report an issue we are seeing while load testing through the gateway fabric. We were receiving errors regarding not enough worker_connections.
I noticed this value is set as a static value of 1024 in the following file: https://github.com/nginx/nginx-gateway-fabric/blob/main/internal/mode/static/nginx/conf/nginx.conf#L9
Is 1024 set as a limit due to nginx-gateway-fabric's architecture?
Is this warning safe to ignore? It seems to indicate it is reusing connections in its pool.
Beta Was this translation helpful? Give feedback.
All reactions