From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: juanjo.santamaria@gmail.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15438: Standby corruption after "Too many open files in system" error
Date: Mon, 22 Oct 2018 14:45:04 -0300
Message-ID: <20181022174504.bwa7435hci7via4y@alvherre.pgsql> (raw)
In-Reply-To: <15438-bbe4679a595d795f@postgresql.org>
On 2018-Oct-18, PG Bug reporting form wrote:
> The primary was working the whole time and recreating the standby replica,
> after configuring the user limits, seems to solve the issue.
Hmm, we recently fixed a bug were file descriptors were being leaked,
after 10.5 was tagged (commit e00f4b68dc87 [1]) but that was in logical
decoding, and the symptoms seem completely different anyway. I'm not
sure it would affect you. The epoll_create stuff in latch.c is pretty
young though.
[1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=e00f4b68dc878dcee46833a742844346d...
[2] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=fa31b6f4e9696f3c9777bf4ec2faea822...
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: alvherre@2ndquadrant.com, juanjo.santamaria@gmail.com
Subject: Re: BUG #15438: Standby corruption after "Too many open files in system" error
In-Reply-To: <20181022174504.bwa7435hci7via4y@alvherre.pgsql>
References: <15438-bbe4679a595d795f@postgresql.org> <20181022174504.bwa7435hci7via4y@alvherre.pgsql>
* 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