pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bob Smith <bsmith@h-e.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Errors on VACUUM
Date: Fri, 15 Mar 2002 18:07:49 -0500
Message-ID: <6012.1016233669@sss.pgh.pa.us> (raw)
In-Reply-To: <B4C9D404-3861-11D6-B665-0003933DD370@h-e.com>
References: <B4C9D404-3861-11D6-B665-0003933DD370@h-e.com>

Bob Smith <bsmith@h-e.com> writes:
>> I'm rather surprised that restarting the postmaster didn't make the
>> error go away, but it's unlikely that anyone will care to investigate
>> --- unless you can reproduce the problem in 7.1.3 or later.

> So this isn't an error that would be caused by some sort of file 
> problem?

AFAICT what you have there is just dangling buffer reference counts;
ie, something didn't release its reference to a disk page buffer in
shared memory.  We used to have quite a number of bugs of that ilk,
though I've not heard of such lately.  They're fairly harmless
normally.

It's not clear to me why a restart (which would naturally clear shared
memory) didn't fix the problem.  Perhaps you had some configuration
on disk that tickled the original buffer-leak bug again each time you
restarted; but I dunno what.  VACUUM itself was never prone to such
errors, so it's hard to see how a restart and immediate VACUUM would
show the problem.  Were you doing other stuff in between?  Have you
got any interesting stuff (like functional indexes, maybe) on this
table?

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <6012.1016233669@sss.pgh.pa.us>
Permalink:  ../6012.1016233669@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6012.1016233669@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bsmith@h-e.com
  Subject: Re: Errors on VACUUM
  In-Reply-To: <6012.1016233669@sss.pgh.pa.us>
  References: <B4C9D404-3861-11D6-B665-0003933DD370@h-e.com> <6012.1016233669@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox