Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDxwc-0001jz-T5 for pgsql-general@arkaria.postgresql.org; Sun, 12 Nov 2017 19:29:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eDxwb-00019R-Op for pgsql-general@arkaria.postgresql.org; Sun, 12 Nov 2017 19:29:25 +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 1eDxu6-0005JH-DJ for pgsql-general@postgresql.org; Sun, 12 Nov 2017 19:26:50 +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.89) (envelope-from ) id 1eDxu4-00005Z-0u for pgsql-general@postgresql.org; Sun, 12 Nov 2017 19:26:49 +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 vACJQgTZ021520; Sun, 12 Nov 2017 14:26:42 -0500 From: Tom Lane To: Christoph Berg cc: "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: <20171112191844.4rry32vdtxzi6crj@msg.df7cb.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> Comments: In-reply-to Christoph Berg message dated "Sun, 12 Nov 2017 20:18:44 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <21518.1510514802.1@sss.pgh.pa.us> Date: Sun, 12 Nov 2017 14:26:42 -0500 Message-ID: <21519.1510514802@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 Christoph Berg writes: > The default systemd timeout seems to be 90s. I have already changed > the systemd timeout to infinity (start) and 1h (stop), so only the > default pg_ctl timeout remains (60s), which I'd rather not override > unilaterally. > That said, isn't 60s way too small for shutting down larger clusters? > And likewise for starting? Well, that's tied into the fact that pg_ctl doesn't disturb the server's state if it gives up waiting. If it did, we would certainly use a larger timeout or none at all. I don't feel a big need to change that default, but if you have a surrounding script that is going to take adverse action after a timeout then you need to use a larger value ... 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