2 ms·
That part’s fine. I’m sitting being PgBouncer, and neither it nor PostgreSQL are anywhere near their connection limits. I sincerely wish that were the issue so
by kstrauser 4y ago
That part’s fine. I’m sitting being PgBouncer, and neither it nor PostgreSQL are anywhere near their connection limits.
I sincerely wish that were the issue so I could configure my way around it.
- kondro 4y agoYes, but are the connection pools in Rails & Sidekiq configured for a very large number of connections. You can probably squeeze up to 100+ out of a single process.
- kstrauser 4y agoI’ve got a pool of 100 DB connections for each Sidekiq process, and haven’t gotten any errors related to lack of connections. For real, I’ve troubleshot this to hell and back. Mastodon’s Sidekiq processes eat servers for breakfast.