DEV Community

Discussion on: Stumped about Rails Connection Limit Error

Collapse
 
ben profile image
Ben Halpern • Edited

I'm familiar with this, but I forget exactly the path going down to deal with it, so I'll throw some stuff out.

This post seems like an interesting analysis: Is there anything in this post you haven't considered yet?

I suspect that this could have to do with how the threads, pool size, and process multiply against each other if you're using Puma, or generally be in this veign... Maybe look into the knobs you can pull with Puma? (Or whichever server you're running?)

speedshop.co/2017/10/12/appserver....

Collapse
 
xipher7934 profile image
Ethan

Hey Ben, thanks for the reply! I poked at the thread issue, but we're not using sidekiq or any asynchronous workers, and we're not using any custom threading. Everything "should be" synchronous to our web instances?

We are using puma, and I'll take a further look into the puma knobs I can play with!