We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe65280 commit ebd33f2Copy full SHA for ebd33f2
doc/src/sgml/runtime.sgml
@@ -1360,6 +1360,13 @@ $ <userinput>sysctl -w vm.nr_hugepages=3170</userinput>
1360
this setting through reboots.
1361
</para>
1362
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
+
1370
<para>
1371
The default behavior for huge pages in
1372
<productname>PostgreSQL</productname> is to use them when possible and
0 commit comments