Why Nostr? What is Njump?
2023-03-17 21:18:59
in reply to

lamp on Nostr: #[0] corrections, DB_POOL is per-process so it simply needs to be the same (no less) ...

corrections, DB_POOL is per-process so it simply needs to be the same (no less) than concurrency; it's also set there as you can seehttps://github.com/mastodon/mastodon/blob/main/dist/mastodon-sidekiq.service#L10 so remember to change both 25's.

Okay, thing is, if you're running four sidekiq processes with these settings, you need 100 connections to the database for those alone, but the default connection limit on the postgresql server is 100, and you still need more connections for the web and streaming processes. I would check for db connection errors and adjust accordingly.

What's the ExecStart= of each sidekiq service file?
Author Public Key
npub18ctny2qrhjmwkptydzqfwmu5cjhwg5htvmjgjjcvu0xefq409sqqx4j7pp