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

Bug: PostgreSqlUser opens more and more connections #1576

Closed
johgoe opened this issue Jun 18, 2021 · 1 comment · Fixed by #1619
Closed

Bug: PostgreSqlUser opens more and more connections #1576

johgoe opened this issue Jun 18, 2021 · 1 comment · Fixed by #1619
Labels
bug 🪲 Something isn't working
Milestone

Comments

@johgoe
Copy link
Contributor

johgoe commented Jun 18, 2021

Describe the bug
User is created and permissions are granted. PGSqlConnection idles. During time more and more connections are created and all idles. It takes some time but then the database accepts no more connection because of 100 idle connections

To Reproduce
Steps to reproduce the behavior:
Create a PostgreSqlUser CR and wait for provisioned and a little bit more.

Expected behavior
User is created and permissions are granted. PGSqlConnection is closed.

Screenshots
grafik

Additional context
I guess the connections are from this part:

https://github.com/Azure/azure-service-operator/blob/master/pkg/resourcemanager/psql/psqluser/psqluser_reconcile.go

There are just a view users

grafik

@johgoe johgoe added the bug 🪲 Something isn't working label Jun 18, 2021
@matthchr
Copy link
Member

Thanks for the bug report @johgoe - this is a pretty bad bug. It also seems to impact more than just PostgreSQLUser (I think it also impacts the MySQL and AzureSQL flavors).

We'll be looking to get this fixed for the next release of ASO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants