Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Urd75-0006aJ-UI for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Jun 2013 23:57:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Urd75-0006Wv-7p for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Jun 2013 23:57:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Urd73-0006Wl-96 for pgsql-bugs@postgresql.org; Tue, 25 Jun 2013 23:57:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Urd70-000722-FY for pgsql-bugs@postgresql.org; Tue, 25 Jun 2013 23:57:28 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r5PNvL6K019879; Tue, 25 Jun 2013 19:57:21 -0400 (EDT) From: Tom Lane To: Jeff Davis cc: Yuri Levinsky , pgsql-bugs@postgresql.org Subject: Re: Postgres crash? could not write to log file: No space left on device In-reply-to: <1372203951.20761.4.camel@sussancws0025> References: <8881.1372168007@sss.pgh.pa.us> <1372203951.20761.4.camel@sussancws0025> Comments: In-reply-to Jeff Davis message dated "Tue, 25 Jun 2013 16:45:51 -0700" Date: Tue, 25 Jun 2013 19:57:21 -0400 Message-ID: <19878.1372204641@sss.pgh.pa.us> X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Jeff Davis 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