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

Commit0f40458

Browse files
Adjust documentation for configuring Linux huge pages.
The present wording about viewing shared_memory_size_in_huge_pagesseems to suggest that the parameter cannot be viewed after startupat all, whereas the intent is to make it clear that you can't use"postgres -C" to view this parameter while the server is running.This commit rephrases this section to remove the ambiguity.Author: Seino YukiReviewed-by: Michael Paquier, David G. Johnston, Fujii MasaoDiscussion:https://postgr.es/m/420584fd274f9ec4f337da55ffb3b790%40oss.nttdata.comBackpatch-through: 15
1 parent53edc94 commit0f40458

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎doc/src/sgml/runtime.sgml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,11 +1445,10 @@ export PG_OOM_ADJUST_VALUE=0
14451445
with <varname>CONFIG_HUGETLBFS=y</varname> and
14461446
<varname>CONFIG_HUGETLB_PAGE=y</varname>. You will also have to configure
14471447
the operating system to provide enough huge pages of the desired size.
1448-
To determine the number of huge pages needed, use the
1449-
<command>postgres</command> command to see the value of
1450-
<xref linkend="guc-shared-memory-size-in-huge-pages"/>. Note that the
1451-
server must be shut down to view this runtime-computed parameter.
1452-
This might look like:
1448+
The runtime-computed parameter
1449+
<xref linkend="guc-shared-memory-size-in-huge-pages"/> reports the number
1450+
of huge pages required. This parameter can be viewed before starting the
1451+
server with a <command>postgres</command> command like:
14531452
<programlisting>
14541453
$ <userinput>postgres -D $PGDATA -C shared_memory_size_in_huge_pages</userinput>
14551454
3170

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp