Re: vacuum messges

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: vacuum messges
Дата
Msg-id 10242.965070942@sss.pgh.pa.us
обсуждение исходный текст
Ответ на vacuum messges  (Joseph Shraibman <jks@selectacast.net>)
Список pgsql-general
Joseph Shraibman <jks@selectacast.net> writes:
> What do these mean?
> NOTICE:  FlushRelationBuffers(message, 2): block 2 is referenced
> (private 0,
> global 1)
> FATAL 1:  VACUUM (vc_repair_frag): FlushRelationBuffers returned -2

We've seen a couple reports of this happening with 7.0.  Apparently
there is a buffer-reference-count leak happening somewhere, such that
a disk buffer is still marked as busy even though (presumably) nothing
but VACUUM is actually touching the table.  When VACUUM sees this, it
punts for fear of creating problems.

You can recover by restarting the postmaster, but the really interesting
question is how the system gets into this state in the first place.
If you can work out a reproducible or semi-reproducible sequence for
causing the problem to occur, please tell us!

            regards, tom lane

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

Предыдущее
От:
Дата:
Сообщение: hierarchy select question?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Corrupted Table