This happened several times in my application - somehow a connection leak occurs, and suddenly the database receives 10 times more connections than necessary. If this is the case that you get a swamp with such an error, and not traffic, try running this:
heroku pg:killall
This will terminate all database connections. If this is dangerous for your situation, to possibly turn off requests, be careful. I just have a rails app, and if it goes down, losing a few requests doesn't really matter, because browser requests will have looooooong since then, anyway.
jpadvo Aug 25 '13 at 21:45 2013-08-25 21:45
source share