Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1du0R4-0006CC-Kp for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Sep 2017 18:06:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1du0R3-0005jv-UM for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Sep 2017 18:06:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1du0PV-0002y0-Hx for pgsql-hackers@postgresql.org; Mon, 18 Sep 2017 18:04:45 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1du0PS-0004Oy-Jb for pgsql-hackers@postgresql.org; Mon, 18 Sep 2017 18:04:45 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1414B20DDE; Mon, 18 Sep 2017 14:04:41 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 18 Sep 2017 14:04:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=bGfu3fchNh1m7gVvyR vK+ujFFsy9F5o/BeRDohudLpU=; b=bfN0PGElV7Rhsk8vVk5IgpcoMkrR5mUbAy Y6Ss5izkwKnenX2lP0RARXknw1Q5+vT1b9ZYb9pJCwY8GTls68oDp2MkUtiho3Lp KwLRyu3l0c3YH/dOxQkRSDWE8VstY+jYRHwUWaprFMzCTgNlIDEB2zoy3iNJhIv/ QsC/Ct0E9hymLggj76xu3shMflhwEKnLAc/aCUdq/uwNccjJhtc31JdWdZCp+/pY SZ19aPahcj0Tv4DhiRfLJt9ot4LGOQg9i/za37FkapHnj26PkNKJBbW7OXZNWixx 2Ed3UoN91nDmrn02LXufXr+Xiyk20h3ZaFKW6qAZm4/XTkEHb4KQ== X-ME-Sender: X-Sasl-enc: aPOOWdWZ7twWuvIYoATSKAt1KCBdSH8/Ow+DKdoaVerH 1505757880 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id B30737E6EE; Mon, 18 Sep 2017 14:04:40 -0400 (EDT) Date: Mon, 18 Sep 2017 11:04:39 -0700 From: Andres Freund To: Robert Haas Cc: Tom Lane , "pgsql-hackers@postgresql.org" Subject: Re: Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup. Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On 2017-09-18 12:16:42 -0400, Robert Haas wrote: > On Mon, Sep 18, 2017 at 6:32 AM, Andres Freund wrote: > > One thing that I've noticed for a while, but that I was reminded of > > again here. We very frequently allow psql to reconnect in case of crash, > > just for postmaster to notice a child has gone and kill that session. I > > don't recall that frequently happening, but these days it happens nearly > > every time. > > 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. - Andres -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers