-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
MongoDB Scalers open many open connections #5612
Comments
Hello @MichaelMayer-askui , |
Hello @JorTurFer , The only error message from keda-operator which i receive is the following:
This message occurs after the high amount of connection is open and the database refused more. |
Is your connection using Maybe you could try the |
Yes the connection string is in Now I am surprised that it works. I used this config for now ~1 year without any issues. The problems occurred right after the update to v2.13 from v2.12. |
It could be, I don't remind related changes but they definitively could be there, for example the mongo pkg has been updated too |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. |
Report
After connection problems between keda components inside the cluster the MongoDB scaler makes many new request to MongoDB Database which caused that the connection limit was reached. The number of connections per minute was higher as configured.
Expected Behavior
If connection issues appear, Keda should not spawn new connections from a scaler which are more frequently spawned then configured.
Actual Behavior
Keda spawns more sacler connections connections than expected.
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.13.1
Kubernetes Version
1.28
Platform
Amazon Web Services
Scaler Details
MongoDB
Anything else?
No response
The text was updated successfully, but these errors were encountered: