[Django] #33088: Django Heroku: remaining connection slots are reserved for non-replication superuser connections

15 views
Skip to first unread message

Django

unread,
Sep 8, 2021, 5:24:45 AM9/8/21
to django-...@googlegroups.com
#33088: Django Heroku: remaining connection slots are reserved for non-replication
superuser connections
-----------------------------------------+------------------------
Reporter: Daveson217 | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 3.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
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.

--
Ticket URL: <https://code.djangoproject.com/ticket/33088>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 8, 2021, 5:27:07 AM9/8/21
to django-...@googlegroups.com
#33088: Django Heroku: remaining connection slots are reserved for non-replication
superuser connections
-------------------------------------+-------------------------------------

Reporter: Daveson217 | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution:

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Daveson217):

* component: Uncategorized => Database layer (models, ORM)


--
Ticket URL: <https://code.djangoproject.com/ticket/33088#comment:1>

Django

unread,
Sep 8, 2021, 5:37:46 AM9/8/21
to django-...@googlegroups.com
#33088: Django Heroku: remaining connection slots are reserved for non-replication
superuser connections
-------------------------------------+-------------------------------------
Reporter: David Babalola | Owner: nobody
Type: Bug | Status: closed

Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => invalid


Comment:

See TicketClosingReasons/UseSupportChannels for ways to get help. Trac is
not a support channel.

--
Ticket URL: <https://code.djangoproject.com/ticket/33088#comment:2>

Django

unread,
Sep 8, 2021, 5:38:15 AM9/8/21
to django-...@googlegroups.com
#33088: Remaining connection slots are reserved for non-replication superuser
connections

-------------------------------------+-------------------------------------
Reporter: David Babalola | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

--
Ticket URL: <https://code.djangoproject.com/ticket/33088#comment:3>

Reply all
Reply to author
Forward
0 new messages