Re: pg_stat_activity showing non-existent processes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_stat_activity showing non-existent processes
Дата
Msg-id 22874.1143340808@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_stat_activity showing non-existent processes  (Jerry Sievers <jerry@jerrysievers.com>)
Ответы Re: pg_stat_activity showing non-existent processes
Список pgsql-admin
Jerry Sievers <jerry@jerrysievers.com> writes:
> At any rate; I'm wondering what possible causes might be responsible
> for pg_stat_activity's underlying functions to lose track of the valid
> process list?

It sounds like the stats collector missed a few "backend quit"
messages.  This isn't real surprising: the stats messaging mechanism is
intentionally designed to drop messages under severe load, rather than
slow down backends.

We recently put in a filter that prevents reporting pg_stat_activity
lines for backends that are dead according to the up-to-date list in
shared memory.  I don't think that's in 8.0.3 though.

            regards, tom lane

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

Предыдущее
От:
Дата:
Сообщение: Re: Renaming a sequence?
Следующее
От: Erwin Brandstetter
Дата:
Сообщение: database locale and system locale