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

A lot of idle connections after fast backup #91

Open
TristisOris opened this issue Feb 7, 2025 · 0 comments
Open

A lot of idle connections after fast backup #91

TristisOris opened this issue Feb 7, 2025 · 0 comments

Comments

@TristisOris
Copy link

We do backup for 2 db, huge and small.

Image

After small one, we got a lot of idle coneections. Looks like backup done too fast to close them correctly. But zero idle after huge one, that most weird part.

Image

Image

Image

as far as i know, it possible to specify timeout for pgdump, like
pg_dump -d 'host=... port=... dbname=... user=... keepalives_idle=300' -f dumpfile

On database side we can play with idle_session_timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant