-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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]: Postgres Idle Connections #30197
Comments
Checked out this user issue with respect to postgres idle connections, there are a couple of things unknown right now, because of which I was not able to reproduce the issue, we have asked for this information from the user, the conversation is going on here. We have asked user for details like:
Apart from this, I checked out the connection pool codebase and also the logs when multiple connections are created, here are a couple of observations:
|
Moving this issue back to sprint backlog, we can further investigate this issue once we have required information from user. |
I'm also having this issue. |
Best solution today is to use pgbouncer to try to minimize. But appsmith itself could also improve this on their side. |
Is there an existing issue for this?
Description
When a cloud user executes PostgreSQL queries at page start, it creates new sessions. However, these sessions don't close after the page is closed or are no longer needed. This causes the sessions to accumulate and quickly hit the 100-session limit they have set in their database
Steps To Reproduce
https://theappsmith.slack.com/archives/C0341RERY4R/p1703228974015659
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud/ Self-Hosted - 1.8.4
The text was updated successfully, but these errors were encountered: