pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
Cc: alvherre@2ndquadrant.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15438: Standby corruption after "Too many open files in system" error
Date: Mon, 22 Oct 2018 11:28:19 -0700
Message-ID: <20181022182819.uohpm24exao72zp3@alap3.anarazel.de> (raw)
In-Reply-To: <CAC+AXB25UB4HuZpyw5p5tn0-NCD7BkV0iHx=Ujx+soFPjJcoDw@mail.gmail.com>
References: <15438-bbe4679a595d795f@postgresql.org>
	<20181022174504.bwa7435hci7via4y@alvherre.pgsql>
	<20181022175732.awdhznheldlwm5ho@alap3.anarazel.de>
	<CAC+AXB25UB4HuZpyw5p5tn0-NCD7BkV0iHx=Ujx+soFPjJcoDw@mail.gmail.com>

Hi,

On 2018-10-22 20:18:32 +0200, Juan José Santamaría Flecha wrote:
> When you say corruption, do you mean that the data was corrupted
> > afterwards? Or just that the standby spewed errors until you restarted
> > with adjusted limits?
> >
> 
> We didn't do a proper low level check to verify that the database was
> corrupted, but the symtopms took us to belive so: after a restart the
> system crashed almost immediately with and 'invalid memory alloc request
> size', no matter the user limits.
> 
> There is a backup still available if any test can be of interest.

Yea, I think looking at that would be worthwhile.  That an FD leak or
such could cause replay to get stuck is not that suprrising, but it
shouldn't cause corruption. That hints that something further is borked.

Greetings,

Andres Freund




view thread (5+ messages)

Message-ID: <20181022182819.uohpm24exao72zp3@alap3.anarazel.de>
Permalink:  ../20181022182819.uohpm24exao72zp3@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20181022182819.uohpm24exao72zp3@alap3.anarazel.de

 · 

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: andres@anarazel.de, juanjo.santamaria@gmail.com, alvherre@2ndquadrant.com
  Subject: Re: BUG #15438: Standby corruption after "Too many open files in system" error
  In-Reply-To: <20181022182819.uohpm24exao72zp3@alap3.anarazel.de>
  References: <15438-bbe4679a595d795f@postgresql.org> <20181022174504.bwa7435hci7via4y@alvherre.pgsql> <20181022175732.awdhznheldlwm5ho@alap3.anarazel.de> <CAC+AXB25UB4HuZpyw5p5tn0-NCD7BkV0iHx=Ujx+soFPjJcoDw@mail.gmail.com> <20181022182819.uohpm24exao72zp3@alap3.anarazel.de>

* 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