doc: Add index entries and better documentation link for Linux OOM

This commit is contained in:
Peter Eisentraut 2015-12-31 22:03:13 -05:00
parent 5f36096b77
commit 805ac78aab

View File

@ -1245,6 +1245,18 @@ default:\
<sect2 id="linux-memory-overcommit">
<title>Linux Memory Overcommit</title>
<indexterm>
<primary>memory overcommit</primary>
</indexterm>
<indexterm>
<primary>OOM</primary>
</indexterm>
<indexterm>
<primary>overcommit</primary>
</indexterm>
<para>
In Linux 2.4 and later, the default virtual memory behavior is not
optimal for <productname>PostgreSQL</productname>. Because of the
@ -1306,7 +1318,7 @@ sysctl -w vm.overcommit_memory=2
or placing an equivalent entry in <filename>/etc/sysctl.conf</>.
You might also wish to modify the related setting
<varname>vm.overcommit_ratio</>. For details see the kernel documentation
file <filename>Documentation/vm/overcommit-accounting</>.
file <ulink url="https://www.kernel.org/doc/Documentation/vm/overcommit-accounting"></ulink>.
</para>
<para>