Re: systemd deletes shared memory segment in /dev/shm/Postgresql.NNNNNN - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: systemd deletes shared memory segment in /dev/shm/Postgresql.NNNNNN
Date
Msg-id 56A52018.1030001@gmx.net
Whole thread Raw
In response to systemd deletes shared memory segment in /dev/shm/Postgresql.NNNNNN  (mgbii bax <gezeala@gmail.com>)
List pgsql-admin
On 1/21/16 7:07 PM, mgbii bax wrote:
> We were hit by some interesting addition to systemd, it appears that
> logging in/out to the machine with the user account used to start the
> postgres service has some catastrophic effect. A systemd process deleted
> Postgresql.NNNN file in /dev/shm (tmpfs).

The documentation of systemd states that this only happens for
non-system users.  Can you check whether your "postgres" user (or
whatever you are using) is a system user?



pgsql-admin by date:

Previous
From: Thorsten Schöning
Date:
Subject: Questions regarding handling of Postgres' stats data in case of tmpfs
Next
From: SELCUK AYDIN
Date:
Subject: Postgresql 9.3 Postgis 2.1