Thread: VACUUM (vc_rpfheap): BlowawayRelationBuffers returned -2
Hi all, I noticed that vacuum didnot run correctly, I got following message: VACUUM NOTICE: BlowawayRelationBuffers(invoices, 26): block 27 is referenced (private 0, last 0, global 1) FATAL 1: VACUUM (vc_rpfheap): BlowawayRelationBuffers returned -2 Next time I start vacuum, I see this: ERROR: can't create lock file -- another vacuum cleaner running? Should I get worried and keep my backup close at hand? Rob den Boer-HRS
Rob den Boer wrote: > > Hi all, > > I noticed that vacuum didnot run correctly, I got following message: > > VACUUM > NOTICE: BlowawayRelationBuffers(invoices, 26): block 27 is referenced > (private 0, last 0, global 1) > FATAL 1: VACUUM (vc_rpfheap): BlowawayRelationBuffers returned -2 This means that 27 block of invoices was referenced by some other backend (but shouldn't!) Unfortunately, I can't reproduce this error... :( BTW, how many connections were present when vacuum was running? > > Next time I start vacuum, I see this: > ERROR: can't create lock file -- another vacuum cleaner running? rm pg_vlock file... Also, I don't know is this in FAQ or not: after getting FATAL you should restart postmaster. > > Should I get worried and keep my backup close at hand? Nothing should be broken by this error... Vadim
> -----Original Message----- > From: root@dune.krs.ru [mailto:root@dune.krs.ru]On Behalf Of Vadim Mikheev > > FATAL 1: VACUUM (vc_rpfheap): BlowawayRelationBuffers returned -2 > BTW, how many connections were present when vacuum was running? Hopefully, none. Vacuum is ran from a background process that collects data all day, and around midnight it does a dump_all and after that a vacuum. > Also, I don't know is this in FAQ or not: after getting FATAL > you should restart postmaster. Thanks for mentioning it, it didn't see/found this one. regards, Rob den Boer