summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian2003-06-12 15:58:19 +0000
committerBruce Momjian2003-06-12 15:58:19 +0000
commit889dd3c00d1ddd9b2ca77d0154cf52fc664a2049 (patch)
treecff4f7bab8a1eed20ea1cfd90655035d6b86a956 /doc/src
parent8d2d92c5f0169190e4963fb541340bc8c630b02f (diff)
Mention need for swap on Linux, and kill -9.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/runtime.sgml6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 02befb8480c..21fb68df97b 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.185 2003/06/12 15:31:02 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.186 2003/06/12 15:58:19 momjian Exp $
-->
<Chapter Id="runtime">
@@ -2785,10 +2785,12 @@ kernel.shmmax = 134217728
Linux has poor default memory overcommit behavior. Rather than
failing if it can not reserve enough memory, it returns success,
but later fails when the memory can't be mapped and terminates
- the application. To prevent unpredictable process termination, use:
+ the application with <literal>kill -9</>. To prevent unpredictable
+ process termination, use:
<programlisting>
sysctl -w vm.overcommit_memory=3
</programlisting>
+ Note, you will need enough swap space to cover all your memory needs.
</para>
</listitem>
</varlistentry>