Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDxPg-0000Q2-KH for pgsql-general@arkaria.postgresql.org; Sun, 12 Nov 2017 18:55:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eDxPe-0006Z9-JH for pgsql-general@arkaria.postgresql.org; Sun, 12 Nov 2017 18:55:22 +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 1eDxN7-0002DF-4m for pgsql-general@postgresql.org; Sun, 12 Nov 2017 18:52:45 +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 1eDxN0-0003WT-9O for pgsql-general@postgresql.org; Sun, 12 Nov 2017 18:52:44 +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 3yZjZC10Hdz3F22; Sun, 12 Nov 2017 19:52:35 +0100 (CET) Date: Sun, 12 Nov 2017 19:52:34 +0100 From: Christoph Berg To: "Peter J. Holzer" Cc: pgsql-general@postgresql.org, Adam Brusselback , Tom Lane Subject: Re: Postgres 10.1 fails to start: server did not start in time Message-ID: <20171112185233.tzynljip2k3ygcxn@msg.df7cb.de> Mail-Followup-To: Christoph Berg , "Peter J. Holzer" , pgsql-general@postgresql.org, Adam Brusselback , Tom Lane 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171112173559.m6chmbyf4vz6fu3c@hjp.at> 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: Peter J. Holzer 2017-11-12 <20171112173559.m6chmbyf4vz6fu3c@hjp.at> > Wouldn't it be better to remove the timeout? If some other service > depends on PostgreSQL it probably shouldn't be startet until PostgreSQL > is really up and services which don't need PostgreSQL (e.g. SSH or X11 > login or a web- or mail server) shouldn't depend on it. > > One of the purported advantages of systemd over SystemV init is that it > starts up services in parallel, so a service which takes a long (or > infinite) time to start doesn't block other services. If you don't want to block, don't depend on the database service. That question is independent from the timeout. Christoph -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general