Re: Frequent "pg_ctl status" removing(?) semaphores (unlikely) - Mailing list pgsql-general

From Michael Paquier
Subject Re: Frequent "pg_ctl status" removing(?) semaphores (unlikely)
Date
Msg-id CAB7nPqRgcN-YzmqNKR-9+Fph-hiD-52ZPSyzA-THJ9kOVHi+BA@mail.gmail.com
Whole thread Raw
In response to Frequent "pg_ctl status" removing(?) semaphores (unlikely)  (raf <raf@raf.org>)
Responses Re: Frequent "pg_ctl status" removing(?) semaphores (unlikely)  (raf <raf@raf.org>)
List pgsql-general
On Tue, Sep 27, 2016 at 2:13 PM, raf <raf@raf.org> wrote:
> So, my qestion is, is it possible that "pg_ctl status" could be
> removing postgres's semaphores and can I stop it? It seems
> extremely unlikely. So, if it isn't, what else could it be?
> Systemd perhaps? It's been known to kill screen/tmux/nohup
> processes when a user logs out in its keenness to clean up but
> that may be clutching at straws.

systemd sometimes has fun removing semaphores. See here for example:
https://www.postgresql.org/message-id/CAK7tEys9-O4BTERbs3Xuk2BfFNNd55u2sM9j5R2Fi7v6BHjrQw@mail.gmail.com
--
Michael


pgsql-general by date:

Previous
From: "Marek Petr"
Date:
Subject: lost synchronization with server: got message type "Z"
Next
From: Tom van Tilburg
Date:
Subject: Re: inconsistent behaviour of set-returning functions in sub-query with random()