Nginx logs those errors " worker_connections are not enough"

Bug #1873291 reported by Patrick Desnoyers
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Charmed Kubernetes Bundles
In Progress
Medium
Patrick Desnoyers

Bug Description

Using this : https://github.com/charmed-kubernetes/charm-kubeapi-load-balancer

2020/04/16 14:32:19 [alert] 4886#4886: *171498101 768 worker_connections are not enough while connecting to upstream, client: 10.XXX.X.17, server: _, request: "GET /api/v1/namespaces/site-production/secrets?fi
eldSelector=metadata.name ......

It would be nice to be able to increase the worker_connections in the Charm

Should I make a pr ? It doesn't look very difficult to add this option.
(It could require that we increase some limits too?)

Revision history for this message
Patrick Desnoyers (patrickd75) wrote :

As the cluster grows (It's not that big, around 11 worker nodes), we are starting to see this error more and more.

Any opinions ?

Revision history for this message
Tim Van Steenburgh (tvansteenburgh) wrote :

Hi @patrickd75, thanks for reporting this! If you're interested in submitting a PR, that would be great - we'll be happy to review it.

Changed in charmed-kubernetes-bundles:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Patrick Desnoyers (patrickd75) wrote :

I will start working on it shortly.

I don't think I agree with classification "wishlist". Connection to the API is pretty important, no ? If the LB starts overloading on a small cluster, what does it do on a bigger one ?

Revision history for this message
Tim Van Steenburgh (tvansteenburgh) wrote :

Hey @patrickd75, thanks, and I see your point about the Importance. I was thinking of it as a "feature to add new worker_connections configuration", but yeah, it could be considered a bug.

Changed in charmed-kubernetes-bundles:
importance: Wishlist → High
assignee: nobody → Patrick Desnoyers (patrickd75)
status: Triaged → In Progress
milestone: none → 1.18+ck1
George Kraft (cynerva)
Changed in charmed-kubernetes-bundles:
importance: High → Medium
Changed in charmed-kubernetes-bundles:
milestone: 1.18+ck1 → 1.18+ck2
Changed in charmed-kubernetes-bundles:
milestone: 1.18+ck2 → 1.19
Changed in charmed-kubernetes-bundles:
milestone: 1.19 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.