The charm doesn't balance between mailman3-web unit for hyperkitty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mailman 3 Core Charm |
Confirmed
|
High
|
Unassigned |
Bug Description
While looking at an issue, I found out that one of our 2 mailman3-web unit was having a hard time while the other was relatively less loaded.
More than twice the amount of requests [0].
I tried to determine a pattern based on the frequency of the target url of the request on the mailman3-web unit [1].
What I can see is that ALL "/mailman3/
Eventually found out that the configuration does target a single IP, the one of the first unit among the mailman3-web ones [2].
[0]: https:/
[1]: https:/
[2]: https:/
summary: |
- The charm doesn't balance between mailman3-seb unit for hyperkitty + The charm doesn't balance between mailman3-web unit for hyperkitty |
Changed in mailman3-core-charm: | |
status: | New → Confirmed |
Changed in mailman3-core-charm: | |
importance: | Undecided → High |
One solution is to have the charm install some kind of balancer, HAProxy, on the mailman3-core unit and configure backends to all the mailman3-web units from the relation data. Then have the template use this.