Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keda operator not closing connections to rabbitmq #318

Closed
Jinkxed opened this issue Aug 2, 2019 · 3 comments · Fixed by #361
Closed

keda operator not closing connections to rabbitmq #318

Jinkxed opened this issue Aug 2, 2019 · 3 comments · Fixed by #361
Assignees
Labels
bug Something isn't working scaler

Comments

@Jinkxed
Copy link

Jinkxed commented Aug 2, 2019

Been playing with the rabbitmq trigger and everything was working well.

Somewhere in the testing keda quit closing connections to one of our clusters. I've gone as far as deleted all the kubernetes templates of keda, rebuilt the rabbitmq cluster, rebuilt all the templates that were using triggers and it's still causing my rabbitmq cluster to gain connections.

If I delete the keda pods the connection count drops instantly, but I can't see why it's opening new connections to the service without closing them.

Any help would be appreciated, if I can share any other details please let me know!

Example: This cluster is usually around 45 connections.

Screen Shot 2019-08-02 at 5 03 28 PM

We are running on EKS in AWS.
AMI Version: amazon-eks-node-1.13-v20190614 (ami-08c4955bcc43b124e)

@jeffhollan jeffhollan added the bug Something isn't working label Aug 8, 2019
@zodrog
Copy link

zodrog commented Sep 13, 2019

This only happens on the sample project provided. Works perfectly on properly producers/consumers.

@Jinkxed
Copy link
Author

Jinkxed commented Sep 13, 2019

Well I may be missing something, but this was happening on our live staging environments. Can you point me to what I should be using instead?

@zodrog
Copy link

zodrog commented Sep 16, 2019

I can confirm that a properly RabbitMQ producer /consumer frees the connections after the HPA resizes down to the original state. I am using NServiceBus BTW.

And like I said if you tested with the sample project on Keda, it has some bug that the consumers are not scaled down and of course the connections per se on those consumers are not.

Cheers

@ahmelsayed ahmelsayed self-assigned this Sep 24, 2019
preflightsiren pushed a commit to preflightsiren/keda that referenced this issue Nov 7, 2021
* Provide consistent scaler docs for KEDA 2.0

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Too fast, 🤠

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working scaler
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants