Skip to content

Getting max connection reached using supavisor #18986

Answered by chasers
marcustut asked this question in Questions
Discussion options

You must be logged in to vote

Generally speaking, it’s because you are creating too many connections too quickly for whatever connection limits are currently in place for your project. Any combination of the following will help:

  • increase compute
  • increase pool size
    • increases parallelism to the db
    • reduces concurrent clients needed for the same throughput
  • decrease query time
    • allows more throughput per connection
    • reduces concurrent clients needed for the same throughput
  • disconnect appropriately
    • immediately frees up unused connections
  • reduce connections per client
    • don’t open unneeded connections on each client instance
    • clients often use a pool of their …

Replies: 10 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@MightComeback
Comment options

@bennyszantar
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@rinvii
Comment options

@juliomuhlbauer
Comment options

Comment options

You must be logged in to vote
5 replies
@Ashwin27
Comment options

@dwolrdcojp
Comment options

@Ashwin27
Comment options

@dwolrdcojp
Comment options

@chasers
Comment options

Answer selected by chasers
Comment options

You must be logged in to vote
1 reply
@Gregg-Casey
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet