pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Davis <pgsql@j-davis.com>
Cc: Yuri Levinsky <yuril@celltick.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Postgres crash? could not write to log file: No space left on device
Date: Tue, 25 Jun 2013 19:57:21 -0400
Message-ID: <19878.1372204641@sss.pgh.pa.us> (raw)
In-Reply-To: <1372203951.20761.4.camel@sussancws0025>
References: <B72526FA2066E344AFD09734A487318103E9294E@falcon1.celltick.com>
	<8881.1372168007@sss.pgh.pa.us>
	<1372203951.20761.4.camel@sussancws0025>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Jeff Davis <pgsql@j-davis.com> writes:
> On Tue, 2013-06-25 at 09:46 -0400, Tom Lane wrote:
>> That's definitely telling you it got ENOSPC from a write in
>> $PGDATA/pg_xlog.

> Either that, or write() wrote less than expected but did not set errno.

Good point.  I wonder if he's using a filesystem that is capable of
reporting partial writes for other reasons, eg maybe it allows signals
to end writes early.  (Though if it is, it's not apparent why such
failures would only be manifesting on the pg_xlog files and not for
anything else.)

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (17+ messages)  latest in thread

Message-ID: <19878.1372204641@sss.pgh.pa.us>
Permalink:  ../19878.1372204641@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19878.1372204641@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql@j-davis.com, yuril@celltick.com
  Subject: Re: Postgres crash? could not write to log file: No space left on device
  In-Reply-To: <19878.1372204641@sss.pgh.pa.us>
  References: <B72526FA2066E344AFD09734A487318103E9294E@falcon1.celltick.com> <8881.1372168007@sss.pgh.pa.us> <1372203951.20761.4.camel@sussancws0025> <19878.1372204641@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