Why Nostr? What is Njump?
2023-03-17 20:53:57
in reply to

lamp on Nostr: #[0] Hmm, so separate sidekiq processes for each queue so they don't block ...

Hmm, so separate sidekiq processes for each queue so they don't block each-other, huh? Well, it's only one queue being overloaded (pull), so you still need a ton of threads on that process. Hmm, the example service sets it to 25 threads already. https://github.com/mastodon/mastodon/blob/main/dist/mastodon-sidekiq.service#L13 Maybe that's still not enough? Also make sure your DB_POOL is large enough for all threads of all processes... which would be 100 if you really have each of four set to 25... which is probably overkill for some of the queues, wasting memory.. There's 6 queues, how do you have that set up across four processes?
Author Public Key
npub18ctny2qrhjmwkptydzqfwmu5cjhwg5htvmjgjjcvu0xefq409sqqx4j7pp