← Back to team overview

dhis2-users team mailing list archive

Re: DHIS2 - Db Server / Postgresql Max Connections (FATAL: remaining connection slots are reserved...)

 

Okay. So each DHIS instance will require its own set of connections, so you
should take required connections per instance and multiply with number of
dhis instances for your max_connections.

Running 12 dhis instances on a single database servers sounds a bit too
much, then the db must have enough mem to support close to 1000
connections. So bumping your max_connections will fix the problem, but
might lead to trouble down the line.

max_connections = 900

Follow ups

References