@@ -1306,12 +1306,12 @@ default:\
1306
1306
Another kernel limit that may be of concern when supporting large
1307
1307
numbers of client connections is the maximum socket connection queue
1308
1308
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
1310
1310
the requests, with those clients receiving unhelpful connection failure
1311
1311
errors such as <quote>Resource temporarily unavailable</quote> or
1312
1312
<quote>Connection refused</quote>. The default queue length limit is 128
1313
1313
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 .
1315
1315
The parameter is variously named <varname>net.core.somaxconn</varname>
1316
1316
on Linux, <varname>kern.ipc.soacceptqueue</varname> on newer FreeBSD,
1317
1317
and <varname>kern.ipc.somaxconn</varname> on macOS and other BSD
@@ -1409,11 +1409,12 @@ sysctl -w vm.overcommit_memory=2
1409
1409
<programlisting>
1410
1410
echo -1000 > /proc/self/oom_score_adj
1411
1411
</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>.
1413
1414
Note that this action must be done as root, or it will have no effect;
1414
1415
so a root-owned startup script is the easiest place to do it. If you
1415
1416
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> :
1417
1418
<programlisting>
1418
1419
export PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj
1419
1420
export PG_OOM_ADJUST_VALUE=0
0 commit comments