8 months ago
Hi everyone, I just started having the error on Postgres.
psql: error: connection to server at "localhost" (::1), port 5432 failed: FATAL: sorry, too many clients already connection to server at "localhost" (::1), port 5432 failed: FATAL: sorry, too many clients already
19 Replies
8 months ago
sorry, too many clients already
Where do you see this error?
8 months ago
Is it possible you have more than 100 connections?
8 months ago
You can redeploy to fix it immediately... but I suppose it's possible Railway isn't closing connections
8 months ago
Make sure your app is closing connections as well
8 months ago
But just redeploy
8 months ago
What framework are you using
8 months ago
Django should close them automatically
8 months ago
Yeah. Do you use the Railway database UI a lot?
8 months ago
Could be an issue with Railway not closing connections. 🤷
8 months ago
I’ll always recommend a desktop app like datagrip or dbeaver, you just have so much more control
8 months ago
I’m going to get flamed for saying that
