Skip to content
Go back

PostgreSQL has no connections left

Find an oversized application pool and idle transactions before they turn connection pressure into an outage.

orders-api intermittently reports remaining connection slots are reserved while PostgreSQL CPU stays low.

Measure connection pressure by application and state before increasing any limit.

Try: psql -c 'select application_name,state,count(*) from pg_stat_activity group by 1,2;'