api creates hundreds of channels to broker that seem to be not used
Schnitzel opened this issue · 1 comments
Schnitzel commented
Describe the bug
The api seems to open hundreds of channels to the broker that are not used. This can cause an overload of rabbitmq/broker and overall sloweness of lagoon-core.
In my understanding the API should only have a couple of channels open, and they should be in use.
Some screenshots proofing this happening:
See IPs having a lot of channels open, but they are all "Idle" meaning they are not actively used.
Schnitzel commented
looks like the limit in rabbit is 2047
by default https://github.com/rabbitmq/rabbitmq-server/blob/eeaca1fb1821d6a1db50ff601b15e7596eb174bc/deps/rabbit/Makefile#L28