title: fatal:remaining connection slots are reserver for non-replication superuser connections AWS RDS
body: <p>I have the below issue with my AWS RDS PostgreSql instance.</p>
  <p><strong>fatal:remaining connection slots are reserver for non-replication superuser connections AWS RDS</strong></p>
  <p>The solution is to kill all the idle connections and increase the max connection size.
  But the challenge is facing is, I could not even access the database due to the issue so that I can query and kill the idle sessions.</p>
  <p>Any suggestion would be helpful to resolve the issue without accessing the database or wanted to know is there any other approach to access the database and kill the sessions.</p>