Discourse Meta
Too many connections to DB, how to optimize
Product Support
sam
(Sam Saffron)
July 18, 2017, 3:55pm
3
At high loads I strongly recommend running pgbouncer, how is your db configured?
show post in topic
Related topics
Topic
Replies
Views
Activity
Primary Postgres database process (postmaster) eating all CPU
Self-hosting
server-resources
13
4538
May 28, 2020
Discourse Crash due to PSQL connection issue
Self-hosting
9
617
March 17, 2024
Understanding DB Pooling for Sidekiq Workers
Development
6
873
March 6, 2025
Very slow Sidekiq issue with large queue due to massive numbers of unread user notifications
Self-hosting
68
8481
April 11, 2020
"Your Redis network connection is performing extremely poorly"
Self-hosting
6
867
February 16, 2026