Supavisor Session Mode (5432) not releasing connections from application (Softr.io client) #41520
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
This pattern usually means "connection per request" + "sessions never torn down". A few concrete checks that will tell you where the leak is:
That graph basically rules out “real load”. Connections staying pinned at ~110 with 0 users means sessions are not being released. This is almost always Session mode + polling clients. For Softr / REST-style traffic you generally want Supavisor in Transaction mode so idle sessions return to the pool between requests. The 8–9s fetch interval is a giveaway, each poll can pin or reopen a session.
If they drop quickly, it’s client behavior + pooling mode, not Postgres capacity. |
Beta Was this translation helpful? Give feedback.

This pattern usually means "connection per request" + "sessions never torn down".
A few concrete checks that will tell you where the leak is:
Supavisor mode: if you’re using Session mode, each client can hold a session open. For HTTP/REST-style traffic (Softr polling every ~8–9s), you almost always want Transaction mode, not Session mode, so idle sessions can be returned to the pool between requests.
Confirm what’s actually opening the connections: