Created attachment 1831894 [details]
Patch to increase sticky counters.
Opening this as a feature request and not as a bug report. I've attached a patch file that expands the available sticky counters from the default of 3, to 12 which is the default for haproxy enterprise. More sticky counters allows for tracking more pieces of information about requests in stick tables. I've opened this for the F35 branch because the haproxy version matches what is used in the ius repo I'm primarily concerned with:
The change is valid for newer haproxy versions as well though and should be equally valuable in rawhide.
I'll definitely consider this, but the patch is based on haproxy 2.2. Rawhide and F35 both have haproxy 2.4.
My mistake, it looks like it was actually F33 where I saw this version, so I've updated the report accordingly. The option should is valid for newer versions as well.
One last question. Did anyone talk to upstream about this change? It seems harmless, but if the default is 3 and we're going to increase it to 12, is there any downside (ie. performance hit or significant increase in memory)? Just curious.
I chose 12 specifically because it's what the haproxy enterprise package uses as a default. I don't believe the availability of the counters would increase memory by itself, but adding more stick tables to your haproxy.cfg to use the extra stick counters will add memory relative to the size of the tables. I have not discussed this with upstream, but I do have one server that I manually applied this to which didn't show any appreciable change in memory usage.
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 33 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
I've added this to rawhide and Fedora 35. Do you need to think Fedora 34 and/or Fedora 33? As you can see above, we only have a few weeks until F33 will be EOL. I can still push out an update if needed.
FEDORA-2021-c56898c829 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-c56898c829
FEDORA-2021-c56898c829 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-c56898c829`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-c56898c829
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Sorry for the delay on this. I'm fine with targeting a newer version for this request, no need to put extra effort in on an EOL package.
FEDORA-2021-c56898c829 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.