From: gdr@gdr.name
To: pgsql-bugs@postgresql.org
Cc: gdr@gdr.name
Subject: BUG #14851: Systemd kills long-running recovery
Date: Fri, 13 Oct 2017 09:10:28 +0000
Message-ID: <20171013091028.20254.74268@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14851
Logged by: GDR !
Email address: gdr@gdr.name
PostgreSQL version: 9.6.5
Operating system: CentOS 7 / pgdg
Description:
Summary: I think the line "TimeoutSec=300" in the systemd unit file isn't
necessary
Problem: I'm running a Postgres replication slave fresh after
pg_basebackup. It has about 12 hours worth of xlogs to replay. After 5
minutes of "systemctl start postgresql-9.6" not returning to shell, systemd
kills the server in the middle of recovery.
This is because of TimeoutSec=300 in the systemd unit file. I don't think
removing this statement will have any negative effects and I propose that
it's not included in the pgdg distribution.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: gdr@gdr.name
Subject: Re: BUG #14851: Systemd kills long-running recovery
In-Reply-To: <20171013091028.20254.74268@wrigleys.postgresql.org>
References: <20171013091028.20254.74268@wrigleys.postgresql.org>
* 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