pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Papst <andreas.papst@univie.ac.at>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14320: systemd terminates postgresql hot standby instance 90 seconds after start
Date: Thu, 15 Sep 2016 08:28:02 +0200
Message-ID: <57DA3F72.4010408@univie.ac.at> (raw)
In-Reply-To: <1bc537c4-4d6f-d14e-ad89-873df1b7f77f@2ndquadrant.com>
References: <20160909105014.20024.66435@wrigleys.postgresql.org>
	<535998f9-2ca3-db8d-8747-f4b89b0b125e@2ndquadrant.com>
	<57D8F84E.702@univie.ac.at>
	<1bc537c4-4d6f-d14e-ad89-873df1b7f77f@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hello,

On 09/15/2016 02:19 AM, Peter Eisentraut wrote:
> Something unusual is going on.  Try running the commands in the unit
> file by hand and see whether they succeed or print additional
> diagnostics.  Check the systemd logs, if any.  The reason the process
> ends up getting killed is that systemd thinks it has not started
> successfully.
> 
yeah, when systemd's startup process is running into it's timeout
it terminates postgres process. If I change the timeout threshold
to unlimited, postgres operates for ever.
And as I wrote, when I send Postgres a signal, i.e. `systemctl reload
postgresql´, postgres process detaches, the blocked startup script
is freed and returns success to systemd.

No more logs are available.

Thanks
Andreas
-- 
________________________________________________________________________
Andreas Papst                      |
Vienna University Computer Center  |  E-Mail: andreas.papst@univie.ac.at
Universitaetsstrasse 7             |  Phone: +43 1 4277 / 140 36
A-1010 Vienna, Austria, Europe     |  Fax.: +43 1 4277 / 8 140 36


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (5+ messages)

Message-ID: <57DA3F72.4010408@univie.ac.at>
Permalink:  ../57DA3F72.4010408@univie.ac.at/
Also on:    postgresql.org/message-id/57DA3F72.4010408@univie.ac.at

 · 

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-bugs@postgresql.org
  Cc: andreas.papst@univie.ac.at, peter.eisentraut@2ndquadrant.com
  Subject: Re: BUG #14320: systemd terminates postgresql hot standby instance 90 seconds after start
  In-Reply-To: <57DA3F72.4010408@univie.ac.at>
  References: <20160909105014.20024.66435@wrigleys.postgresql.org> <535998f9-2ca3-db8d-8747-f4b89b0b125e@2ndquadrant.com> <57D8F84E.702@univie.ac.at> <1bc537c4-4d6f-d14e-ad89-873df1b7f77f@2ndquadrant.com> <57DA3F72.4010408@univie.ac.at>

* 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