Re: Durability?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Emmanuel Cecchet <manu(at)frogthinker(dot)org>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Durability?
Date: 2009-08-07 20:25:38
Message-ID: 29292.1249676738@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Emmanuel Cecchet <manu(at)frogthinker(dot)org> writes:
> I got an error like this:

> ERROR: xlog flush request 1/C121E998 is not satisfied --- flushed only to 1/BCBCB440
> CONTEXT: writing block 529 of relation 1663/233690/1247
> WARNING: could not write block 529 of 1663/233690/1247
> DETAIL: Multiple failures --- write error might be permanent.

> The xrecoff value (logs show 1/xrecoff) advances a few times during the day, but the message keeps appearing.

It looks like you've got a corrupted page in shared buffers, and every
time the system tries to flush it to disk for a checkpoint, it fails.

What I'd try for getting out this is to kill -9 some backend in order
to force a database restart. Of course, if you want to investigate
what caused it, you should dig around in shared memory first and try
to get a copy of that buffer's contents.

regards, tom lane

In response to

  • Durability? at 2009-08-07 19:31:34 from Emmanuel Cecchet

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-08-07 20:30:23 Re: Review: Revise parallel pg_restore's scheduling heuristic
Previous Message Kevin Grittner 2009-08-07 20:22:06 Re: Review: Revise parallel pg_restore's scheduling heuristic