Production Server down for hours: Too many connections attempts
Server has been down for hours this morning
We tried increasing the limit from 3-4 instance to 8-8 and still no avail. There was NO way for me to completely shut down the database connections and restart like traditional database services would so I was stuck. I had to clone the database into a new branch and put a temporary fix on it but we need to resolve this asap.
We use connection pooling with prisma + nextJS and host on vercel.

2 Replies
wise-whiteOP•7mo ago
The image above is the problematic instance. I thought the connection limit was at 10000 for pooling but somehow its only tapping out at the non-connection pooling limit.
It has died down for now, but our connections count was at 0 from the chart (assuming analytics couldnt even pull data from our database)
I need to ensure this doesnt happen again, would like your support so i don't have to make more child branches and keep doing temporary fixes
this is how we instantiate and use prisma client
and package.json versions
and the db query string we are using
extended-salmon•6mo ago
Hi,
In addition to creating a thread here, I can strongly recommend getting in touch with Support if you have not done so already. Assuming you're on paid plan of course.
https://console.neon.tech/app/projects?modal=support