pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Magnus Hagander <mha@sollentuna.net>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: tgl@sss.pgh.pa.us
Cc: zhouqq@cs.toronto.edu
Cc: icub3d@gmail.com
Cc: pgsql-admin@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] ERROR: could not read block
Date: Mon, 21 Nov 2005 17:05:57 -0600
Message-ID: <20051121230556.GP19279@pervasive.com> (raw)
In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCE92E86E@algol.sollentuna.se>
References: <6BCB9D8A16AC4241919521715F4D8BCE92E86E@algol.sollentuna.se>

On Thu, Nov 17, 2005 at 07:56:21PM +0100, Magnus Hagander wrote:
> The way I read it, a delay should help. It's basically running out of
> kernel buffers, and we just delay, somebody else (another process, or an
> IRQ handler, or whatever) should get finished with their I/O, free up
> the buffer, and let us have it. Looking around a bit I see several
> references that you should retry on it, but nothing in the API docs.
> I do think it's probably a good idea to do a short delay before retrying
> - at least to yield the CPU for one slice. That would greatly increase
> the probability of someone else finishing their I/O...

If that makes it into code, ISTM it would be good if it also threw a
NOTICE so that users could see if this was happening; kinda like the
notice about log files being recycled frequently.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (41+ messages)  latest in thread

Message-ID: <20051121230556.GP19279@pervasive.com>
Permalink:  ../20051121230556.GP19279@pervasive.com/
Also on:    postgresql.org/message-id/20051121230556.GP19279@pervasive.com

 · 

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: jnasby@pervasive.com, mha@sollentuna.net, Kevin.Grittner@wicourts.gov, tgl@sss.pgh.pa.us, zhouqq@cs.toronto.edu, icub3d@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] ERROR: could not read block
  In-Reply-To: <20051121230556.GP19279@pervasive.com>

* 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