Re: PSA: Systemd will kill PostgreSQL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PSA: Systemd will kill PostgreSQL
Date: 2016-08-15 21:43:36
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Josh Berkus <josh(at)agliodbs(dot)com> writes:
> On 07/10/2016 10:56 AM, Joshua D. Drake wrote:
>> tl;dr; Systemd 212 defaults to remove all IPC (including SYSV memory)
>> when a user "fully" logs out.

> That looks like it was under discussion in April, though. Do we have
> confirmation it was never fixed? I'm not seeing systemd killing
> Postgres under Fedora24.

Last I heard, there's an exclusion for "system" accounts, so an
installation that's using the Fedora-provided pgsql account isn't
going to have a problem. It's homebrew installs running under
ordinary-user accounts that are at risk.

But they might have changed the policy some more since then.

regards, tom lane

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Ildar Musin 2016-08-15 22:03:59 Index Onlys Scan for expressions
Previous Message Tom Lane 2016-08-15 21:40:40 Re: Anyone want to update our Windows timezone map?