pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Peter J. Holzer <hjp-pgsql@hjp.at>
Cc: pgsql-general@postgresql.org
Cc: Adam Brusselback <adambrusselback@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: Postgres 10.1 fails to start: server did not start in time
Date: Sun, 12 Nov 2017 19:52:34 +0100
Message-ID: <20171112185233.tzynljip2k3ygcxn@msg.df7cb.de> (raw)
In-Reply-To: <20171112173559.m6chmbyf4vz6fu3c@hjp.at>
References: <CAMjNa7e6O-ng7xi38bWOwz3d67U1bkDo3k480kyNv10rwErogQ@mail.gmail.com>
	<8027.1510347112@sss.pgh.pa.us>
	<20171111132354.esi73rlpq3goyrqh@msg.df7cb.de>
	<CAMjNa7c5shJPR9sDz=VwNZz1LoTTi=dhO1CUCDJL=u8+WLL5pg@mail.gmail.com>
	<20171111205316.u56lkmkakdmcx6zm@msg.df7cb.de>
	<20171112122658.md7u7ahq5raqezft@msg.df7cb.de>
	<20171112173559.m6chmbyf4vz6fu3c@hjp.at>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

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



view thread (16+ messages)  latest in thread

Message-ID: <20171112185233.tzynljip2k3ygcxn@msg.df7cb.de>
Permalink:  ../20171112185233.tzynljip2k3ygcxn@msg.df7cb.de/
Also on:    postgresql.org/message-id/20171112185233.tzynljip2k3ygcxn@msg.df7cb.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: myon@debian.org, hjp-pgsql@hjp.at, adambrusselback@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Postgres 10.1 fails to start: server did not start in time
  In-Reply-To: <20171112185233.tzynljip2k3ygcxn@msg.df7cb.de>
  References: <CAMjNa7e6O-ng7xi38bWOwz3d67U1bkDo3k480kyNv10rwErogQ@mail.gmail.com> <8027.1510347112@sss.pgh.pa.us> <20171111132354.esi73rlpq3goyrqh@msg.df7cb.de> <CAMjNa7c5shJPR9sDz=VwNZz1LoTTi=dhO1CUCDJL=u8+WLL5pg@mail.gmail.com> <20171111205316.u56lkmkakdmcx6zm@msg.df7cb.de> <20171112122658.md7u7ahq5raqezft@msg.df7cb.de> <20171112173559.m6chmbyf4vz6fu3c@hjp.at> <20171112185233.tzynljip2k3ygcxn@msg.df7cb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox