pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup.
Date: Mon, 18 Sep 2017 15:33:29 -0400
Message-ID: <25370.1505763209@sss.pgh.pa.us> (raw)
In-Reply-To: <20170918180439.mgxvnbmxzb6br57t@alap3.anarazel.de>
References: <E1dsbXB-0006pK-EE@gemulon.postgresql.org>
	<14134.1505572349@sss.pgh.pa.us>
	<20170916182634.blb7upixw7hosdhu@alap3.anarazel.de>
	<23456.1505586621@sss.pgh.pa.us>
	<20170916183849.kgqlyi3q2oy4qjkx@alap3.anarazel.de>
	<27204.1505591941@sss.pgh.pa.us>
	<20170916202705.lhszupzi3s4iaxy6@alap3.anarazel.de>
	<20170917080752.rcmihzfmgbeuqjk2@alap3.anarazel.de>
	<20170918103213.nhlmfh5v3qrgoskg@alap3.anarazel.de>
	<CA+TgmoYAPTmm1ZhvOb+iuJxsxWdXiO5LtcLFsMRQxHa8LpVxWA@mail.gmail.com>
	<20170918180439.mgxvnbmxzb6br57t@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Andres Freund <andres@anarazel.de> writes:
> On 2017-09-18 12:16:42 -0400, Robert Haas wrote:
>> I don't understand what you're talking about here.

> I often see a backend crash, psql reacting to that crash by
> reconnecting, successfully establish a new connection, just to be kicked
> off by postmaster that does the crash restart cycle.  I've not yet
> figured out when exactly this happens and when not.

It seems like this must indicate that psql sees the connection drop
significantly before the postmaster gets SIGCHLD.  Which is weird, but
if you have core dumps enabled, maybe your kernel is doing something like
(1) close files, (2) dump core, (3) exit process (resulting in SIGCHLD)?

I don't think I've ever seen this myself.  Peculiarity of some kernels,
perhaps.

			regards, tom lane


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



view thread (21+ messages)  latest in thread

Message-ID: <25370.1505763209@sss.pgh.pa.us>
Permalink:  ../25370.1505763209@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25370.1505763209@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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup.
  In-Reply-To: <25370.1505763209@sss.pgh.pa.us>
  References: <E1dsbXB-0006pK-EE@gemulon.postgresql.org> <14134.1505572349@sss.pgh.pa.us> <20170916182634.blb7upixw7hosdhu@alap3.anarazel.de> <23456.1505586621@sss.pgh.pa.us> <20170916183849.kgqlyi3q2oy4qjkx@alap3.anarazel.de> <27204.1505591941@sss.pgh.pa.us> <20170916202705.lhszupzi3s4iaxy6@alap3.anarazel.de> <20170917080752.rcmihzfmgbeuqjk2@alap3.anarazel.de> <20170918103213.nhlmfh5v3qrgoskg@alap3.anarazel.de> <CA+TgmoYAPTmm1ZhvOb+iuJxsxWdXiO5LtcLFsMRQxHa8LpVxWA@mail.gmail.com> <20170918180439.mgxvnbmxzb6br57t@alap3.anarazel.de> <25370.1505763209@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