pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas F. O'Connell <tf@o.ptimized.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Block Read Error: Success?
Date: Wed, 13 Feb 2008 16:39:47 -0500
Message-ID: <24012.1202938787@sss.pgh.pa.us> (raw)
In-Reply-To: <7DF13FAE-CE2F-406C-98D6-2003D2BED624@o.ptimized.com>
References: <7DF13FAE-CE2F-406C-98D6-2003D2BED624@o.ptimized.com>

"Thomas F. O'Connell" <tf@o.ptimized.com> writes:
> A few days ago, we began seeing this error in our logs:
> ERROR:  could not read block [redacted] of relation [redacted]: Success

> I've encountered "could not read block" errors in other databases in  
> the past, but have never witnessed the "Success" tag at the end. What  
> does that mean?

What this means is a read past EOF --- that is, read() returned fewer
bytes than requested (perhaps none at all) but did not signal an error.
A potential ultimate cause is corrupt indexes that contain pointers
leading past the end of the table.  Which sounds a whole lot like the
VACUUM bug fixed in 8.0.14 and other recent releases.

> We're running 8.0.13 on FC3. Is there any reason not to suspect the  
> hardware at this point?

I'd question your choice of platform --- FC3 went EOL quite some time
ago.

			regards, tom lane



view thread (2+ messages)

Message-ID: <24012.1202938787@sss.pgh.pa.us>
Permalink:  ../24012.1202938787@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24012.1202938787@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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tf@o.ptimized.com
  Subject: Re: Block Read Error: Success?
  In-Reply-To: <24012.1202938787@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