Re: [GENERAL] Postgres 10.1 fails to start: server did not start intime

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: [GENERAL] Postgres 10.1 fails to start: server did not start intime
Дата
Msg-id 20171112185233.tzynljip2k3ygcxn@msg.df7cb.de
обсуждение исходный текст
Ответ на Re: [GENERAL] Postgres 10.1 fails to start: server did not start intime  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Ответы Re: [GENERAL] Postgres 10.1 fails to start: server did not start in time
Список pgsql-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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: [GENERAL] Postgres 10.1 fails to start: server did not start intime
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Postgres 10.1 fails to start: server did not start in time