Thread: BUG #13818: PostgreSQL crashes after cronjob runs as "postgres"

BUG #13818: PostgreSQL crashes after cronjob runs as "postgres"

From
Alexey Lesovsky
Date:
Hi,

Check installed systemd version, since 212 systemd has "cool feature".
Particilarly, systemd-logind process automatically removes all IPC objects
owned by a user if she or he fully logs out.
Set "RemoveIPC=no" in /etc/systemd/logind.conf ans restart systemd-logind
service to disable this.

Regards, Alexey Lesovsky.

Re: BUG #13818: PostgreSQL crashes after cronjob runs as "postgres"

From
Ryan Park
Date:
Hi Alexey -- thank you so much for pointing us in the right direction. We
followed your instructions and it allowed us to run cron jobs as the
"postgres" user again.

Ryan Park
Runscope Operations

On Sat, Jan 9, 2016 at 8:45 AM, Alexey Lesovsky <lesovsky@pgco.me> wrote:

> Hi,
>
> Check installed systemd version, since 212 systemd has "cool feature".
> Particilarly, systemd-logind process automatically removes all IPC objects
> owned by a user if she or he fully logs out.
> Set "RemoveIPC=no" in /etc/systemd/logind.conf ans restart systemd-logind
> service to disable this.
>
> Regards, Alexey Lesovsky.
>