uselagoon/lagoon

api creates hundreds of channels to broker that seem to be not used

Schnitzel opened this issue · 1 comments

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.
RabbitMQ Management 2023-08-21 at 08 47 47
RabbitMQ Management 2023-08-21 at 08 47 36

the IPs belong to API pods:
michael@MacBook-Pro-6 gitllama2-lagoon 2023-08-21 at 08 48 00
michael@MacBook-Pro-6 gitllama2-lagoon 2023-08-21 at 08 47 53