FATAL: 53300: remaining connection slots are reserved for non-replication superuser connections

FATAL: 53300: remaining connection slots are reserved for non-replication superuser connections

How to solve this issue

image

i have above like structure

used below query

_________++++++SELECT * FROM pg_stat_activity;
++++++SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE state = ‘idle’;

SQL Error [42501]: ERROR: must be a superuser to terminate superuser process

above error is comming how to solve this

Hey @saurabhtalele,

Welcome to the community :cake:

Where are you seeing this error? It sounds like like you may need to increase the max_connections option for your database but more information is needed.

The second error on being a superuser to terminate the process is from the database and it is not an n8n issue so you may need to consult whoever manages your database.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.