Old active connections?

Поиск
Список
Период
Сортировка
От Hans Sebastian
Тема Old active connections?
Дата
Msg-id CAMH0=P-VcGsBp+bHKr3j1BW=yqV7ff9b=_ZpO2+rqtVdmzBp1A@mail.gmail.com
обсуждение исходный текст
Ответы Re: Old active connections?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: Old active connections?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
Hello group,

We run postgresql 10.3 for a python django app with gunicorn on nginx with django version 1.9.5.

Recently, we started noticing there are many active connections from the django app server that are more than 1 week old still showing in pg_stat_activity.

Even though the django server has been stopped (all processes killed), the active connections still persist. All of these connections are UPDATE queries that look pretty normal.

Does anyone know the reasons they could be there? What could have caused them being still active?

This has become an issue as we started getting "FATAL:  remaining connection slots are reserved for non-replication superuser connections"

Thanks,
-hans

В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: rehashing catalog cache id 14 for pg_opclass; 17 tups, 8 buckets
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Old active connections?