Follow

@xvilo Yes and this time I commented the math to postgresql.conf:

# To calculate the total number of connections required for your Mastodon server, you need to calculate the number of connections required by each component:

#

# 1. For every Web service instance, the required connections are MAX_THREADS multiplied by WEB_CONCURRENCY.

# = 256

# 2. For every StreamingAPI instance, the required connections are the STREAMING_CLUSTER_NUM multiplied by the DB_POOL.

# = 200

# 3. For every Sidekiq instance, the required connections equal the DB_POOL.

# = 6 x 40 = 240

In total that makes:

max_connections = 696

I guess that's correct.

Btw no errors so far.