pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
Cc: PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Subject: Re: Problem in starting postgresql on a probably slow machine: pg_ctlcluster ignores pg_ctl timeout
Date: Mon, 1 Oct 2018 15:27:00 +0200
Message-ID: <20181001132700.GC15085@msg.df7cb.de> (raw)
In-Reply-To: <831b8b45c4e1d4732aa39b41e276d49e3ea4bf59.camel@eppesuigoccas.homedns.org>
References: <831b8b45c4e1d4732aa39b41e276d49e3ea4bf59.camel@eppesuigoccas.homedns.org>

Re: Giuseppe Sacco 2018-10-01 <camel@eppesuigoccas.homedns.org/">831b8b45c4e1d4732aa39b41e276d49e3ea4bf59.camel@eppesuigoccas.homedns.org>
> So, finally, my question: is pg_ctlcluster the root cause of my
> problem? Why does it loop and wait if pg_ctl will exit anyway when the
> database start or when its timeout is triggered? Should I open a bug
> report for this?

pg_ctlcluster originated years before systemd, so it is doing many
things that should nowadays really be handled by the service file, but
we haven't thrown out the old code yet. There's lots of room for
improvement, yes.

Christoph




view thread (2+ messages)

Message-ID: <20181001132700.GC15085@msg.df7cb.de>
Permalink:  ../20181001132700.GC15085@msg.df7cb.de/
Also on:    postgresql.org/message-id/20181001132700.GC15085@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-pkg-debian@postgresql.org
  Cc: myon@debian.org, giuseppe@eppesuigoccas.homedns.org
  Subject: Re: Problem in starting postgresql on a probably slow machine: pg_ctlcluster ignores pg_ctl timeout
  In-Reply-To: <20181001132700.GC15085@msg.df7cb.de>
  References: <831b8b45c4e1d4732aa39b41e276d49e3ea4bf59.camel@eppesuigoccas.homedns.org> <20181001132700.GC15085@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