Commit 805ac78a authored by Peter Eisentraut's avatar Peter Eisentraut

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

parent 5f36096b
...@@ -1245,6 +1245,18 @@ default:\ ...@@ -1245,6 +1245,18 @@ default:\
<sect2 id="linux-memory-overcommit"> <sect2 id="linux-memory-overcommit">
<title>Linux Memory Overcommit</title> <title>Linux Memory Overcommit</title>
<indexterm>
<primary>memory overcommit</primary>
</indexterm>
<indexterm>
<primary>OOM</primary>
</indexterm>
<indexterm>
<primary>overcommit</primary>
</indexterm>
<para> <para>
In Linux 2.4 and later, the default virtual memory behavior is not In Linux 2.4 and later, the default virtual memory behavior is not
optimal for <productname>PostgreSQL</productname>. Because of the optimal for <productname>PostgreSQL</productname>. Because of the
...@@ -1306,7 +1318,7 @@ sysctl -w vm.overcommit_memory=2 ...@@ -1306,7 +1318,7 @@ sysctl -w vm.overcommit_memory=2
or placing an equivalent entry in <filename>/etc/sysctl.conf</>. or placing an equivalent entry in <filename>/etc/sysctl.conf</>.
You might also wish to modify the related setting You might also wish to modify the related setting
<varname>vm.overcommit_ratio</>. For details see the kernel documentation <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>
<para> <para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment