Skip to content

Commit 9e2d813

Browse files
Adjust documentation for configuring Linux huge pages.
The present wording about viewing shared_memory_size_in_huge_pages seems to suggest that the parameter cannot be viewed after startup at 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 Yuki Reviewed-by: Michael Paquier, David G. Johnston, Fujii Masao Discussion: https://postgr.es/m/420584fd274f9ec4f337da55ffb3b790%40oss.nttdata.com Backpatch-through: 15
1 parent 4b65269 commit 9e2d813

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
@@ -1429,11 +1429,10 @@ export PG_OOM_ADJUST_VALUE=0
14291429
with <varname>CONFIG_HUGETLBFS=y</varname> and
14301430
<varname>CONFIG_HUGETLB_PAGE=y</varname>. You will also have to configure
14311431
the operating system to provide enough huge pages of the desired size.
1432-
To determine the number of huge pages needed, use the
1433-
<command>postgres</command> command to see the value of
1434-
<xref linkend="guc-shared-memory-size-in-huge-pages"/>. Note that the
1435-
server must be shut down to view this runtime-computed parameter.
1436-
This might look like:
1432+
The runtime-computed parameter
1433+
<xref linkend="guc-shared-memory-size-in-huge-pages"/> reports the number
1434+
of huge pages required. This parameter can be viewed before starting the
1435+
server with a <command>postgres</command> command like:
14371436
<programlisting>
14381437
$ <userinput>postgres -D $PGDATA -C shared_memory_size_in_huge_pages</userinput>
14391438
3170

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy