Re: error I don't understand

From: MichaelDBA Vitale <michaeldba(at)sqlexec(dot)com>
To: Ian Lawrence Barwick <barwick(at)gmail(dot)com>, Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: error I don't understand
Date: 2022-07-27 19:45:01
Message-ID: 742509973.2598765.1658951101637@email.ionos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
I think if the linux user is defined as a system user, then you are OK.&nbsp; It's only when the user is not defined as a system user that these bad side-effects can happen.
</div>
<div class="default-style">
&nbsp;
</div>
<div class="default-style">
When creating linux users that work with Postgres, do it like this:
</div>
<div class="default-style">
adduser -r myuser
</div>
<div class="default-style">
or
</div>
<div class="default-style">
useradd -m --system myuser
</div>
<div class="default-style">
&nbsp;
</div>
<div class="default-style">
See "systemd RemoveIPC" section in&nbsp;
</div>
<div class="default-style">
<a href="https://www.postgresql.org/docs/current/kernel-resources.html">https://www.postgresql.org/docs/current/kernel-resources.html</a>
</div>
<div class="default-style">
&nbsp;
</div>
<div class="default-style">
&nbsp;
</div>
<div class="default-style">
Regards,
</div>
<div class="default-style">
Michael Vitale
</div>
<div class="default-style">
&nbsp;
</div>
<blockquote type="cite">
<div>
On 07/27/2022 1:30 PM EDT Ian Lawrence Barwick &lt;<a href="mailto:barwick(at)gmail(dot)com">barwick(at)gmail(dot)com</a>&gt; wrote:
</div>
<div>
&nbsp;
</div>
<div>
&nbsp;
</div>
<div>
2022年7月28日(木) 0:35 Scott Ribe &lt;<a href="mailto:scott_ribe(at)elevated-dev(dot)com">scott_ribe(at)elevated-dev(dot)com</a>&gt;:
</div>
<div>
&gt;
</div>
<blockquote type="cite">
<div>
could not open shared memory segment "/PostgreSQL.3631378696": No such file or directory
</div>
</blockquote>
<blockquote type="cite">
<div>
Context is in parallel workers. Does this just mean that I don't have enough shmem allocated for the PG config that I set up?
</div>
</blockquote>
<div>
If you are using a Systemd-enabled Linux, check that "RemoveIPC" is
</div>
<div>
set to "no".
</div>
<div>
&nbsp;
</div>
<div>
See: <a href="https://wiki.postgresql.org/wiki/Systemd" target="_blank" rel="noopener">https://wiki.postgresql.org/wiki/Systemd</a>
</div>
<div>
&nbsp;
</div>
<div>
Regards
</div>
<div>
&nbsp;
</div>
<div>
Ian Barwick
</div>
<div>
&nbsp;
</div>
<div>
&nbsp;
</div>
<blockquote type="cite">
<div>
--
</div>
<div>
Scott Ribe
</div>
<div>
<a href="mailto:scott_ribe(at)elevated-dev(dot)com">scott_ribe(at)elevated-dev(dot)com</a>
</div>
<div>
<a href="https://www.linkedin.com/in/scottribe/" target="_blank" rel="noopener">https://www.linkedin.com/in/scottribe/</a>
</div>
</blockquote>
<div>
&gt;
</div>
<div>
&gt;
</div>
<div>
&gt;
</div>
<div>
&gt;
</div>
</blockquote>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 2.9 KB

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Ribe 2022-07-28 03:12:51 Re: error I don't understand
Previous Message Ian Lawrence Barwick 2022-07-27 17:30:25 Re: error I don't understand