From: Jeff Davis <pgsql@j-davis.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
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 16:45:51 -0700
Message-ID: <1372203951.20761.4.camel@sussancws0025> (raw)
In-Reply-To: <8881.1372168007@sss.pgh.pa.us>
References: <B72526FA2066E344AFD09734A487318103E9294E@falcon1.celltick.com>
<8881.1372168007@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Tue, 2013-06-25 at 09:46 -0400, Tom Lane wrote:
> "Yuri Levinsky" <yuril@celltick.com> writes:
> > PANIC: could not write to log file 81, segment 125 at offset 13959168,
> > length 1392640: No space left on device
>
> 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.
It looks like we assume ENOSPC when errno is not set.
Regards,
Jeff Davis
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: pgsql@j-davis.com, tgl@sss.pgh.pa.us, yuril@celltick.com
Subject: Re: Postgres crash? could not write to log file: No space left on device
In-Reply-To: <1372203951.20761.4.camel@sussancws0025>
References: <B72526FA2066E344AFD09734A487318103E9294E@falcon1.celltick.com> <8881.1372168007@sss.pgh.pa.us> <1372203951.20761.4.camel@sussancws0025>
* 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