How to increase the max connections on Postgres template

eusoubrozaPRO

4 months ago

Hey!

I'm using a postgres container as the db of my app, but I'm recieving the erro 2025-01-15 18:27:26.091 UTC [7703] FATAL: sorry, too many clients already

very often. I assume it is because I'm exceeding the number of max connetions. I wonder how can I set that value to be bigger seeing that I have 32vCPU and 32 of memory available.

Solved

2 Replies

chandrikaEMPLOYEE

4 months ago

Hi there, we don't have a feature that allows you to tweak this but do have it as a feedback and a workaround for it.

Could you please check out the workaround here and please add an upvote, drop a comment etc on the thread to let us know you're interested in this https://help.railway.com/feedback/ui-for-tuning-postgres-configuration-57239a76


Status changed to Awaiting User Response railway[bot] 4 months ago


eusoubrozaPRO

4 months ago

okay, it worked. Thanks!


Status changed to Awaiting Railway Response railway[bot] 4 months ago


Status changed to Solved brody 4 months ago


How to increase the max connections on Postgres template - Railway Help Station