Skip to content

Commit 17e72ec

Browse files
committed
doc: Adjust a few more references to "postmaster"
Reported-by: Karl O. Pinc <kop@karlpinc.com> Discussion: https://www.postgresql.org/message-id/flat/ece84b69-8f94-8b88-925f-64207cb3a2f0@enterprisedb.com
1 parent 456fa63 commit 17e72ec

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,12 +1306,12 @@ default:\
13061306
Another kernel limit that may be of concern when supporting large
13071307
numbers of client connections is the maximum socket connection queue
13081308
length. If more than that many connection requests arrive within a very
1309-
short period, some may get rejected before the postmaster can service
1309+
short period, some may get rejected before the <productname>PostgreSQL</productname> server can service
13101310
the requests, with those clients receiving unhelpful connection failure
13111311
errors such as <quote>Resource temporarily unavailable</quote> or
13121312
<quote>Connection refused</quote>. The default queue length limit is 128
13131313
on many platforms. To raise it, adjust the appropriate kernel parameter
1314-
via <application>sysctl</application>, then restart the postmaster.
1314+
via <application>sysctl</application>, then restart the <productname>PostgreSQL</productname> server.
13151315
The parameter is variously named <varname>net.core.somaxconn</varname>
13161316
on Linux, <varname>kern.ipc.soacceptqueue</varname> on newer FreeBSD,
13171317
and <varname>kern.ipc.somaxconn</varname> on macOS and other BSD
@@ -1409,11 +1409,12 @@ sysctl -w vm.overcommit_memory=2
14091409
<programlisting>
14101410
echo -1000 > /proc/self/oom_score_adj
14111411
</programlisting>
1412-
in the postmaster's startup script just before invoking the postmaster.
1412+
in the <productname>PostgreSQL</productname> startup script just before
1413+
invoking <filename>postgres</filename>.
14131414
Note that this action must be done as root, or it will have no effect;
14141415
so a root-owned startup script is the easiest place to do it. If you
14151416
do this, you should also set these environment variables in the startup
1416-
script before invoking the postmaster:
1417+
script before invoking <filename>postgres</filename>:
14171418
<programlisting>
14181419
export PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj
14191420
export PG_OOM_ADJUST_VALUE=0

0 commit comments

Comments
 (0)