public inbox for [email protected]
help / color / mirror / Atom feedFrom: Seino Yuki <[email protected]>
To: Nathan Bossart <[email protected]>
Cc: Fujii Masao <[email protected]>
Cc: Michael Paquier <[email protected]>
Cc: [email protected]
Subject: Re: Doc: shared_memory_size_in_huge_pages with the "SHOW" command.
Date: Thu, 17 Oct 2024 14:07:32 +0900
Message-ID: <[email protected]> (raw)
In-Reply-To: <Zw_RS35LpJfRJlub@nathan>
References: <[email protected]>
<[email protected]>
<Zw8WLvyjsbz64NOD@nathan>
<[email protected]>
<[email protected]>
<Zw_RS35LpJfRJlub@nathan>
Thank you, everyone.
> the point being to encourage its use before the server is running
> as we don't want to allocate anything when tuning it.
I was mistaken and now understand that it needs to be run before the
server is running.
>> Another idea is to use the same wording as for num_os_semaphores in
>> runtime.sgml, like this:
>
> WFM
I've fixed the patch and will register it in the CF.
Regards,
--
Yuki Seino
NTT DATA CORPORATION
Attachments:
[text/x-diff] v2-0001-shared_memory_size_in_huge_pages_docfix.patch (871B, ../[email protected]/2-v2-0001-shared_memory_size_in_huge_pages_docfix.patch)
download | inline diff:
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 2c4d5ef640..63669f2d2e 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1431,9 +1431,9 @@ export PG_OOM_ADJUST_VALUE=0
the operating system to provide enough huge pages of the desired size.
To determine the number of huge pages needed, use the
<command>postgres</command> command to see the value of
- <xref linkend="guc-shared-memory-size-in-huge-pages"/>. Note that the
- server must be shut down to view this runtime-computed parameter.
- This might look like:
+ <xref linkend="guc-shared-memory-size-in-huge-pages"/>. This parameter
+ can be viewed before starting the server with a <command>postgres</command>
+ command like:
<programlisting>
$ <userinput>postgres -D $PGDATA -C shared_memory_size_in_huge_pages</userinput>
3170
view thread (13+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: Doc: shared_memory_size_in_huge_pages with the "SHOW" command.
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox