Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1du1nV-0003Yb-CY for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Sep 2017 19:33:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1du1nU-0004eh-Oe for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Sep 2017 19:33:36 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1du1nT-0004eX-Va for pgsql-hackers@postgresql.org; Mon, 18 Sep 2017 19:33:36 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1du1nR-0001iV-16 for pgsql-hackers@postgresql.org; Mon, 18 Sep 2017 19:33:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v8IJXTdM025371; Mon, 18 Sep 2017 15:33:29 -0400 From: Tom Lane To: Andres Freund cc: Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup. In-reply-to: <20170918180439.mgxvnbmxzb6br57t@alap3.anarazel.de> References: <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> <20170918180439.mgxvnbmxzb6br57t@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 18 Sep 2017 11:04:39 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25369.1505763209.1@sss.pgh.pa.us> Date: Mon, 18 Sep 2017 15:33:29 -0400 Message-ID: <25370.1505763209@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andres Freund 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