﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33088	Remaining connection slots are reserved for non-replication superuser connections	David Babalola	nobody	"I recently deployed an app to Heroku  using Postgres free tier as database.
I am using Django 3.2
Everything was working fine until I started getting a mail with the following error:

{{{
Internal Server Error: /
OperationalError at /
FATAL:  remaining connection slots are reserved for non-replication superuser connections
}}}

This happens anytime I open the site. It just started doing this. 
I thought waiting a while would solve the problem,  but it didn't.

1. What does this error mean?
2. What causes the error?
3. How can I solve it?

My CONN_MAX_AGE is set to 500."	Bug	closed	Database layer (models, ORM)	3.2	Normal	invalid			Unreviewed	0	0	0	0	0	0
