max_connections on Postgres
itreza7
PROOP

a month ago

Hi — on the Postgres HA template (Patroni-based), what's the supported way to increase max_connections above 200?

$20 Bounty

3 Replies

Status changed to Awaiting Railway Response Railway 30 days ago


Railway
BOT

a month ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway 29 days ago


sonia_
FREE

a month ago

You can use below environment variable.

HAPROXY_MAX_CONN=1000

https://github.com/railwayapp-templates/postgres-ha#environment-variables

image.png

Attachments


sonia_

You can use below environment variable. HAPROXY_MAX_CONN=1000 https://github.com/railwayapp-templates/postgres-ha#environment-variables ![image.png](https://station-server.railway.com/attachments/att_01ktjz9c5ce4fvnnmb64fa4haq)

itreza7
PROOP

a month ago

What you sent is being used for HAPROXY max connection not postgresql, and its default it 1000, and mine set on 10000 and still have 200 issue.


itreza7
PROOP

a month ago

Can anybody help me on this?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...