© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
93 replies
jakeleventhal

Getting "Max client connections reached" with only 25/60 connections

I am using supabase with transaction mode with prisma in a serverless Next.js application hosted via Vercel. My database URL is
postgres://postgres.<ref>:<password>@aws-0-us-east-1.pooler.supabase.com:6543/postgres?pgbouncer=true&connect_timeout=20&connection_limit=1&pool_timeout=20
postgres://postgres.<ref>:<password>@aws-0-us-east-1.pooler.supabase.com:6543/postgres?pgbouncer=true&connect_timeout=20&connection_limit=1&pool_timeout=20


As a test, I sent 1k requests to my database, and I got a "Max client connections reached" error. After I get this, every single API route returns the same error. Isn't the entire point of Supabase that it would handle cases like this? And how come it says I have 35 open connections still, yet says max clients reached?
Screenshot_2023-12-19_at_2.32.39_PM.png
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
Next page

Similar Threads

Issues with max client connections reached
SupabaseSSupabase / help-and-questions
7mo ago
"Max client connections reached" on Transaction Pooler
SupabaseSSupabase / help-and-questions
4mo ago
Max connections reached on large traffic
SupabaseSSupabase / help-and-questions
3y ago
Self Hosting max connections
SupabaseSSupabase / help-and-questions
3mo ago