mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
doc: Add index entries and better documentation link for Linux OOM
This commit is contained in:
@ -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
|
|||||||
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>
|
||||||
|
Reference in New Issue
Block a user