Re: PSA: Systemd will kill PostgreSQL - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: PSA: Systemd will kill PostgreSQL
Date
Msg-id fd1ca9eb-ac30-a675-8bc3-c2ca24c62630@dalibo.com
Whole thread Raw
In response to PSA: Systemd will kill PostgreSQL  ("Joshua D. Drake" <linuxhiker@gmail.com>)
List pgsql-hackers
On 10/07/2016 19:56, Joshua D. Drake wrote:
> Hackers,
> 
> This just came across my twitter feed:
> 
> https://lists.freedesktop.org/archives/systemd-devel/2014-April/018373.html
> 
> tl;dr; Systemd 212 defaults to remove all IPC (including SYSV memory)
> when a user "fully" logs out.
> 

AFAIK it's only the case if the user is not a system user, and postgres
user should be (at least with community packages).

See https://github.com/systemd/systemd/issues/2039

--
Julien Rouhaud
http://dalibo.com - http://dalibo.org



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: PSA: Systemd will kill PostgreSQL
Next
From: Julien Rouhaud
Date:
Subject: Re: Issue with bgworker, SPI and pgstat_report_stat