From: | raf <raf(at)raf(dot)org> |
---|---|
To: | pgsql-admin(at)lists(dot)postgresql(dot)org |
Subject: | Re: error I don't understand |
Date: | 2022-07-28 09:26:24 |
Message-ID: | YuJWQBcdr51/DVgT@raf.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Wed, Jul 27, 2022 at 11:26:44PM -0400, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Scott Ribe <scott_ribe(at)elevated-dev(dot)com> writes:
> > On Jul 27, 2022, at 11:30 AM, Ian Lawrence Barwick <barwick(at)gmail(dot)com> wrote:
> >> If you are using a Systemd-enabled Linux, check that "RemoveIPC" is
> >> set to "no".
>
> > That was the answer. I checked other servers, they had it set. But they are much older OSs (overdue for updates, RSN), different installers.
>
> I looked at this on my own machines and was interested to find that
> RHEL8 defaults it to "no", although the upstream default is evidently
> "yes" and Fedora follows that. Not sure what to make of that,
> except that OS-vendor opinion isn't universal that this is a great
> idea.
>
> regards, tom lane
It is not a great idea. On Debian, I had a postgres user cronjob,
and occasionally, systemd in its infinite wisdom would decide
that the end of the cronjob meant that the postgres user had
logged out and needed to have its IPC resources deleted, even
though the IPC resources in question were created by a different
long-running postgres user "session" that was still running
(i.e., the database server). The consequence was error messages
from the database claiming that the database was corrupt. Very
scary. It wasn't corrupt. It just needed systemd to stop deleting
its stuff.
cheers,
raf
From | Date | Subject | |
---|---|---|---|
Next Message | Juan José Santamaría Flecha | 2022-07-28 12:18:43 | Re: Oracle data to PG |
Previous Message | Dischner, Anton | 2022-07-28 08:55:48 | Oracle data to PG |