Re: PSA: Systemd will kill PostgreSQL

From: Julien Rouhaud <julien(dot)rouhaud(at)dalibo(dot)com>
To: "Joshua D(dot) Drake" <linuxhiker(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PSA: Systemd will kill PostgreSQL
Date: 2016-07-10 18:19:16
Message-ID: fd1ca9eb-ac30-a675-8bc3-c2ca24c62630@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Julien Rouhaud 2016-07-10 18:36:51 Re: Issue with bgworker, SPI and pgstat_report_stat
Previous Message Joshua D. Drake 2016-07-10 17:56:01 PSA: Systemd will kill PostgreSQL