Skip to content

Commit ebd33f2

Browse files
committed
doc: mention more changes needed to use huge pages
Report by Laurence Parry
1 parent fe65280 commit ebd33f2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,6 +1360,13 @@ $ <userinput>sysctl -w vm.nr_hugepages=3170</userinput>
13601360
this setting through reboots.
13611361
</para>
13621362

1363+
<para>
1364+
It is also necessary to give the database server operating system
1365+
user permission to use huge pages by setting
1366+
<varname>vm.hugetlb_shm_group</> via <application>sysctl</>, and
1367+
permission to lock memory with <command>ulimit -l</>.
1368+
</para>
1369+
13631370
<para>
13641371
The default behavior for huge pages in
13651372
<productname>PostgreSQL</productname> is to use them when possible and

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