Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDxmM-0001Mp-7o for pgsql-general@arkaria.postgresql.org; Sun, 12 Nov 2017 19:18:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eDxmL-0006y8-Qg for pgsql-general@arkaria.postgresql.org; Sun, 12 Nov 2017 19:18:49 +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 1eDxmK-0006xH-NW for pgsql-general@postgresql.org; Sun, 12 Nov 2017 19:18:48 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eDxmH-000483-TR for pgsql-general@postgresql.org; Sun, 12 Nov 2017 19:18:48 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1474:d80:76e5:bff:fef3:7e00]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3yZk8P21pSz3F3K; Sun, 12 Nov 2017 20:18:45 +0100 (CET) Date: Sun, 12 Nov 2017 20:18:44 +0100 From: Christoph Berg To: Tom Lane Cc: "Peter J. Holzer" , pgsql-general@postgresql.org, Adam Brusselback Subject: Re: Postgres 10.1 fails to start: server did not start in time Message-ID: <20171112191844.4rry32vdtxzi6crj@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Tom Lane , "Peter J. Holzer" , pgsql-general@postgresql.org, Adam Brusselback 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20802.1510513605@sss.pgh.pa.us> User-Agent: NeoMutt/20170609 (1.8.3) 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 Re: Tom Lane 2017-11-12 <20802.1510513605@sss.pgh.pa.us> > Agreed, but I think Peter has a point: why is there a timeout at all, > let alone one as short as 30 seconds? Since systemd doesn't serialize > service starts unnecessarily, there seems little value in giving up > quickly. And we know that cases such as crash recovery may take more > than that. 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. https://anonscm.debian.org/cgit/pkg-postgresql/postgresql-common.git/tree/systemd/postgresql@.service#n18 That said, isn't 60s way too small for shutting down larger clusters? And likewise for starting? Christoph -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general