- Is this your first time deploying Airbyte?: No
- OS Version / Instance: Ubuntu 22.04
- Memory / Disk: 32GB / 200GB
- Deployment: Docker
- Airbyte Version: 0.35.14
We have hosted our airbyte databse on RDS postgres. Connections to the database are not being closed and we are reaching max connections. This happened earlier so we changed max_connections settings from default value of Postgres to 500. How can we solve this problem? We suspect this is due to connections are not being closed properly from the server. We have to restart the database to solve the issue.
Logs:
“2022-07-20 06:07:52 \u001b[32mINFO\u001b[m i.a.d.Databases(createPostgresDatabaseWithRetryTimeout):74 - Database is not ready yet. Please wait a moment, it might still be initializing…”,
"2022-07-20 06:07:57 \u001b[33mWARN\u001b[m i.a.d.Databases(createPostgresDatabaseWithRetryTimeout):65 - Waiting for database to become available...",
"2022-07-20 06:07:57 \u001b[32mINFO\u001b[m i.a.d.i.j.JobsDatabaseInstance(lambda$static$2):25 - Testing if jobs database is ready...",
Screenshots from RDS:
Please we are facing this issue repeatedly and currently our production system is down
Thank you