Pg9.2: Monitoring NOTIFY queue

Поиск
Список
Период
Сортировка
От Jiří Hlinka
Тема Pg9.2: Monitoring NOTIFY queue
Дата
Msg-id CADCCO5q8UUEeDQCFQkbm_mGwVFZZfnG7nJ1EF1DH4AiXuMvY5Q@mail.gmail.com
обсуждение исходный текст
Список pgsql-admin
Hello,

is there any way how to monitor NOTIFY's queue? I'm talking about the queue described here in the "Notes" part: http://www.postgresql.org/docs/9.2/static/sql-notify.html

Recently there were WARNING messages in DB logs like this:
WARNING:  NOTIFY queue is 55% full
DETAIL:  The server process with PID <PID number> is among those with the oldest transactions.
HINT:  The NOTIFY queue cannot be emptied until that process ends its current transaction.

... in coincidence we stopped all processess connected to DB so the problem was solved as a side effect to this step, unfortunately we are unable to find which process (described by PID in log messages above) was cause this filling of NOTIFY's queue.

We need to monitor state of notify queue so we would be able to solve the problem before the queue fills up. There seems to be a problem in some application that causes this behavior but right now we are unable to say which one and therefore to solve the problem with the specific development team.

Thank you,
Jiri




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

Предыдущее
От: "Doiron, Daniel"
Дата:
Сообщение: Re: Active/Active clustering in postgres
Следующее
От: Denniss
Дата:
Сообщение: Re: Migration from Sybase to Postgresql