Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 889dd3c

Browse files
committed
Mention need for swap on Linux, and kill -9.
1 parent 8d2d92c commit 889dd3c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/src/sgml/runtime.sgml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.185 2003/06/12 15:31:02 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.186 2003/06/12 15:58:19 momjian Exp $
33
-->
44

55
<Chapter Id="runtime">
@@ -2785,10 +2785,12 @@ kernel.shmmax = 134217728
27852785
Linux has poor default memory overcommit behavior. Rather than
27862786
failing if it can not reserve enough memory, it returns success,
27872787
but later fails when the memory can't be mapped and terminates
2788-
the application. To prevent unpredictable process termination, use:
2788+
the application with <literal>kill -9</>. To prevent unpredictable
2789+
process termination, use:
27892790
<programlisting>
27902791
sysctl -w vm.overcommit_memory=3
27912792
</programlisting>
2793+
Note, you will need enough swap space to cover all your memory needs.
27922794
</para>
27932795
</listitem>
27942796
</varlistentry>

0 commit comments

Comments
 (0)