postgres.git / summary / log / commit / refs
commit ebd33f27ab023ef0e72ba162f2974ec49d96e8e3
Author: Bruce Momjian <bruce@momjian.us>
Date: Mon Oct 13 21:23:36 2014 +0000
doc: mention more changes needed to use huge pages
Report by Laurence Parry
doc/src/sgml/runtime.sgml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 639b288e062..026850a1cf5 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1360,6 +1360,13 @@ $ <userinput>sysctl -w vm.nr_hugepages=3170</userinput>
this setting through reboots.
</para>
+ <para>
+ It is also necessary to give the database server operating system
+ user permission to use huge pages by setting
+ <varname>vm.hugetlb_shm_group</> via <application>sysctl</>, and
+ permission to lock memory with <command>ulimit -l</>.
+ </para>
+
<para>
The default behavior for huge pages in
<productname>PostgreSQL</productname> is to use them when possible and
[parent: fe65280fea7e]