Ā© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2mo ago•
54 replies
ElPuto

Supavisor pooler

self-hostedšŸ”¢DB Connections
Hello guys šŸ™‚
I've already done some research but I'm still very confused on how to handle this issue.
I just developed load tests for my app and I start getting timeouts once the tests reach 400 VUs.
The bottleneck is not the server where I'm hosting supabase but is the amount of connection the pooler handles. The server never passes 40% CPU during load tests.

I changed the supavisor config for this:
# Supavisor -- Database pooler
############
# Port Supavisor listens on for transaction pooling connections
POOLER_PROXY_PORT_TRANSACTION=6543
# Maximum number of PostgreSQL connections Supavisor opens per pool
POOLER_DEFAULT_POOL_SIZE=75
# Maximum number of client connections Supavisor accepts per pool
POOLER_MAX_CLIENT_CONN=2000
# Pool size for internal metadata storage used by Supavisor
# This is separate from client connections and used only by Supavisor itself
POOLER_DB_POOL_SIZE=5
# Supavisor -- Database pooler
############
# Port Supavisor listens on for transaction pooling connections
POOLER_PROXY_PORT_TRANSACTION=6543
# Maximum number of PostgreSQL connections Supavisor opens per pool
POOLER_DEFAULT_POOL_SIZE=75
# Maximum number of client connections Supavisor accepts per pool
POOLER_MAX_CLIENT_CONN=2000
# Pool size for internal metadata storage used by Supavisor
# This is separate from client connections and used only by Supavisor itself
POOLER_DB_POOL_SIZE=5


It seems like it is still very low but I don't know what is reasonable for my server (Hostinger KVM2).

I would like to better understand how are these issues handled with supabase on apps with thousands of users.

Thank you guys
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Shared Pooler (Supavisor) connections graph is empty (always showing 0)
SupabaseSSupabase / help-and-questions
5mo ago
Supavisor problem
SupabaseSSupabase / help-and-questions
3y ago
Supavisor metrics
SupabaseSSupabase / help-and-questions
3y ago
Supavisor(pooler) keeps restarting in docker with log "Temporary failure in name resolution"
SupabaseSSupabase / help-and-questions
2mo ago
Next page