Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eE4Nj-0000jN-Fu for pgsql-general@arkaria.postgresql.org; Mon, 13 Nov 2017 02:21:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eE4Ni-0005hG-Iw for pgsql-general@arkaria.postgresql.org; Mon, 13 Nov 2017 02:21:50 +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 1eE4LB-0001Gc-HJ for pgsql-general@postgresql.org; Mon, 13 Nov 2017 02:19:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eE4L8-0004cV-T7 for pgsql-general@postgresql.org; Mon, 13 Nov 2017 02:19:13 +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 vAD2Iwxr006220; Sun, 12 Nov 2017 21:18:58 -0500 From: Tom Lane To: Andres Freund cc: Christoph Berg , "Peter J. Holzer" , pgsql-general@postgresql.org, Adam Brusselback Subject: Re: Postgres 10.1 fails to start: server did not start in time In-reply-to: <20171112210309.spjszhibtdpginuc@alap3.anarazel.de> References: <8027.1510347112@sss.pgh.pa.us> <20171111132354.esi73rlpq3goyrqh@msg.df7cb.de> <20171111205316.u56lkmkakdmcx6zm@msg.df7cb.de> <20171112122658.md7u7ahq5raqezft@msg.df7cb.de> <20171112173559.m6chmbyf4vz6fu3c@hjp.at> <20171112185233.tzynljip2k3ygcxn@msg.df7cb.de> <20802.1510513605@sss.pgh.pa.us> <20171112191844.4rry32vdtxzi6crj@msg.df7cb.de> <21519.1510514802@sss.pgh.pa.us> <20171112210309.spjszhibtdpginuc@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sun, 12 Nov 2017 13:03:09 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6218.1510539538.1@sss.pgh.pa.us> Date: Sun, 12 Nov 2017 21:18:58 -0500 Message-ID: <6219.1510539538@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org Andres Freund writes: > we could really do better than just wonder whether our signal to > shutdown was received or not. There probably should be a quite short > timeout for the server to change status, and then a much longer one for > that shutdown to finish. While I don't want to just raise the timeout, I could get behind a more thorough rethinking of the behavior there. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general