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

Поиск
Список
Период
Сортировка
От Euler Taveira
Тема Re: BUG #19391: pg_ctl: the PID file "/xxxx/postmaster.pid" is empty
Дата
Msg-id 71c7863e-62cb-4121-8a4f-a760a29f4bc6@app.fastmail.com
обсуждение
Ответ на BUG #19391: pg_ctl: the PID file "/xxxx/postmaster.pid" is empty  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #19391: pg_ctl: the PID file "/xxxx/postmaster.pid" is empty
Список pgsql-bugs
On Fri, Jan 30, 2026, at 12:59 PM, PG Bug reporting form wrote:
>
> My test framework uses "pg_ctl status ..." to detect a state of Postgres
> instance - uninitialized, stopped, running.
>
> Time from time, it returns the error - pg_ctl: the PID file
> "/xxxx/postmaster.pid" is empty
>

You didn't provide enough information. Linux distro and version?

> https://github.com/postgrespro/testgres/issues/329
>

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.


-- 
Euler Taveira
EDB   https://www.enterprisedb.com/



В списке pgsql-bugs по дате отправления: