public inbox for [email protected]  
help / color / mirror / Atom feed
From: Kristjan Mustkivi <[email protected]>
To: [email protected]
Subject: Pgbouncer, docker and systemd
Date: Tue, 19 Apr 2022 16:01:07 +0300
Message-ID: <CAOQPKaszN=425jdESsGOSxCYP4yL8skpwuAVB4y=Qb1CmpJNdw@mail.gmail.com> (raw)

Dear all,

Iam curious if anyone has tried to marry dockerized pgbouncer and systemd?

Why? To get my own most up to date pgbouncer version independent of
the OS provided package and coupled with systemd's offered port reuse
and separate management ports.

I happened to read

* https://www.2ndquadrant.com/en/blog/running-multiple-pgbouncer-instances-with-systemd/
* https://www.enterprisedb.com/postgres-tutorials/pgbouncer-setup-extended-architecture-use-cases-and-...

The main problem has been that the sd_notify call will not get out
from the container and the host's systemctl start is left hanging
until a timeout occurs. And I have compiled my own pgbouncer
--with-systemd flag so it is probably a docker container feature.


Cheers,
-- 
Kristjan Mustkivi

Email: [email protected]





view thread (3+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Pgbouncer, docker and systemd
  In-Reply-To: <CAOQPKaszN=425jdESsGOSxCYP4yL8skpwuAVB4y=Qb1CmpJNdw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox