Re: vacuum messges - Mailing list pgsql-general

From Tom Lane
Subject Re: vacuum messges
Date
Msg-id 10242.965070942@sss.pgh.pa.us
Whole thread Raw
In response to vacuum messges  (Joseph Shraibman <jks@selectacast.net>)
List 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 by date:

Previous
From:
Date:
Subject: hierarchy select question?
Next
From: Tom Lane
Date:
Subject: Re: Corrupted Table