Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb944b1d

Browse files
committed
Doc: Update example symptom of systemd misconfiguration.
In PostgreSQL 10, we stopped using System V semaphores on Linuxsystems. Update the example we give of an error message from amisconfigured system to show what people are most likely to see thesedays.Back-patch to 10, where PREFERRED_SEMAPHORES=UNNAMED_POSIX arrived.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/CA%2BhUKGLmJUSwybaPQv39rB8ABpqJq84im2UjZvyUY4feYhpWMw%40mail.gmail.com
1 parentfb2641f commitb944b1d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎doc/src/sgml/runtime.sgml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ project.max-msg-ids=(priv,4096,deny)
12451245

12461246
<para>
12471247
If <productname>systemd</productname> is in use, some care must be taken
1248-
that IPC resources (shared memory and semaphores) are not prematurely
1248+
that IPC resources (includingshared memory) are not prematurely
12491249
removed by the operating system. This is especially of concern when
12501250
installing PostgreSQL from source. Users of distribution packages of
12511251
PostgreSQL are less likely to be affected, as
@@ -1262,11 +1262,12 @@ project.max-msg-ids=(priv,4096,deny)
12621262
</para>
12631263

12641264
<para>
1265-
A typical observed effect when this setting is on is that the semaphore
1266-
objects used by a PostgreSQL server are removed at apparently random
1267-
times, leading to the server crashing with log messages like
1265+
A typical observed effect when this setting is on is that shared memory
1266+
objects used for parallel query execution are removed at apparently random
1267+
times, leading to errors and warnings while attempting to open and remove
1268+
them, like
12681269
<screen>
1269-
LOG: semctl(1234567890, 0, IPC_RMID, ...) failed: Invalid argument
1270+
WARNING: could not remove shared memory segment "/PostgreSQL.1450751626": No such file or directory
12701271
</screen>
12711272
Different types of IPC objects (shared memory vs. semaphores, System V
12721273
vs. POSIX) are treated slightly differently

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp