What changes should I make to resolve the spike in too_many_connections errors?

There are two options:
Option 1:

  • Scale down your application (releasing some connections)
  • Connect over psql and look at the active connections and terminate some connections
  • Start your application back up
    Option 2:

We can run a database restart for you. This will take about 20 minutes to complete.