Re: BUG #19391: pg_ctl: the PID file "/xxxx/postmaster.pid" is empty - Mailing list pgsql-bugs

From Dmitry Kovalenko
Subject Re: BUG #19391: pg_ctl: the PID file "/xxxx/postmaster.pid" is empty
Date
Msg-id CAHtTfeL8UzFxo+VY49P2Ur9e4QLFJJjE06F_DLseJ+1Bjs+4pQ@mail.gmail.com
Whole thread Raw
In response to Re: BUG #19391: pg_ctl: the PID file "/xxxx/postmaster.pid" is empty  ("Euler Taveira" <euler@eulerto.com>)
List 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.
 

pgsql-bugs by date:

Previous
From: "Euler Taveira"
Date:
Subject: Re: BUG #19391: pg_ctl: the PID file "/xxxx/postmaster.pid" is empty
Next
From: Tom Lane
Date:
Subject: Re: BUG #19391: pg_ctl: the PID file "/xxxx/postmaster.pid" is empty