Postgresql max_connections


Is there an equation for working out the minimum postgresql max_connections?

Something like 30 + WEB_CONCURRENCY * MAX_THREADS?

I’ll send a pull request with the equation if anyone knows it.

My max_connections was 200, WEB_CONCURRENCY=8 MAX_THREADS=32 and I hit the max_connections.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.