Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8d2d92c

Browse files
committed
Document default Linux autocommit behavior, and show workaround.
1 parentb4117d8 commit8d2d92c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎doc/src/sgml/runtime.sgml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp