File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 11<!--
2- $Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.184 2003/06/11 22:13:21 momjian Exp $
2+ $Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.185 2003/06/12 15:31:02 momjian Exp $
33-->
44
55<Chapter Id="runtime">
@@ -2780,6 +2780,16 @@ kernel.shmmax = 134217728
27802780 <filename>/usr/src/linux/include/asm-<replaceable>xxx</>/shmpara
27812781 m.h</> and <filename>/usr/src/linux/include/linux/sem.h</>.
27822782 </para>
2783+
2784+ <para>
2785+ Linux has poor default memory overcommit behavior. Rather than
2786+ failing if it can not reserve enough memory, it returns success,
2787+ but later fails when the memory can't be mapped and terminates
2788+ the application. To prevent unpredictable process termination, use:
2789+ <programlisting>
2790+ sysctl -w vm.overcommit_memory=3
2791+ </programlisting>
2792+ </para>
27832793 </listitem>
27842794 </varlistentry>
27852795
You can’t perform that action at this time.
0 commit comments