max_connections on Postgres
itreza7
PROOP

2 months 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 2 months ago


Railway
BOT

2 months ago

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

Status changed to Open Railway 2 months ago


sonia_iqbal
FREE

2 months ago

You can use below environment variable.

HAPROXY_MAX_CONN=1000

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

image.png

Attachments


sonia_iqbal

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

2 months 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

2 months ago

Can anybody help me on this?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...