Проверьте подключения к базе данных Postgres
SELECT * FROM pg_stat_activity WHERE datname='db_name';
Attractive Ape
SELECT * FROM pg_stat_activity WHERE datname='db_name';