Re: Problem in starting postgresql on a probably slow machine: pg_ctlcluster ignores pg_ctl timeout

From: Christoph Berg <myon(at)debian(dot)org>
To: Giuseppe Sacco <giuseppe(at)eppesuigoccas(dot)homedns(dot)org>
Cc: PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org>
Subject: Re: Problem in starting postgresql on a probably slow machine: pg_ctlcluster ignores pg_ctl timeout
Date: 2018-10-01 13:27:00
Message-ID: 20181001132700.GC15085@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

Re: Giuseppe Sacco 2018-10-01 <831b8b45c4e1d4732aa39b41e276d49e3ea4bf59(dot)camel(at)eppesuigoccas(dot)homedns(dot)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

In response to

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message apt.postgresql.org repository 2018-10-01 14:21:48 ora2pg updated to version 19.1-1.pgdg+1
Previous Message Giuseppe Sacco 2018-10-01 13:17:16 Problem in starting postgresql on a probably slow machine: pg_ctlcluster ignores pg_ctl timeout