Allow for configuring worker_connections #3371
Labels
area/nginx-configuration
Relates to nginx configuration
community
enhancement
New feature or request
Milestone
As an NGF user
I want to be able to configure the
worker_connections
directiveSo that I can run NGF at scale without needing too many nginx replicas
worker_connections sets the number of simultaneous connections that can be opened by an nginx worker process. Our default value is 1024. Users at scale may see the error
[warn] 1180#1180: 1024 worker_connections are not enough, reusing connections
, and therefore need to increase the number of allowed connections.A workaround for this is to scale nginx to more replicas, but at certain scales, it may be more resource-friendly to increase this value instead of scaling replicas.
Acceptance
main
nginx configThe text was updated successfully, but these errors were encountered: