Re: BUG #19391: pg_ctl: the PID file "/xxxx/postmaster.pid" is empty

From: Dmitry Kovalenko <dmitry(dot)lipetsk(at)gmail(dot)com>
To: Euler Taveira <euler(at)eulerto(dot)com>
Cc: d(dot)kovalenko(at)postgrespro(dot)ru, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19391: pg_ctl: the PID file "/xxxx/postmaster.pid" is empty
Date: 2026-01-31 01:27:21
Message-ID: CAHtTfeL8UzFxo+VY49P2Ur9e4QLFJJjE06F_DLseJ+1Bjs+4pQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello,

> Time from time, it returns the error - pg_ctl: the PID file
> > "/xxxx/postmaster.pid" is empty
> >
>
> I would say that the operating system is the one that is probably removing
> the
> postmaster.pid. You are using /tmp as your base directory. Service like
> systemd-tmpfiles-clean removes temporary files from /tmp. If systemd is
> not in
> use, I would check the cron.
>

Base docker images were:
- docker.io/library/alt:p10 (it is altlinux 10)
- docker.io/library/postgres:17-alpine (alpine linux)

Thanks&Regards,
Dmitry Kovalenko.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2026-01-31 01:52:48 Re: BUG #19391: pg_ctl: the PID file "/xxxx/postmaster.pid" is empty
Previous Message Euler Taveira 2026-01-31 00:54:27 Re: BUG #19391: pg_ctl: the PID file "/xxxx/postmaster.pid" is empty