aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2007-12-22 05:13:03 +0000
committerBruce Momjian <bruce@momjian.us>2007-12-22 05:13:03 +0000
commit25e9b0e36f1bd2ddee89d6ae9c014dd02f177db3 (patch)
treee2cde57aafa8544fba0c25fbeda2fd8ebca4655e
parentcda598e184a10dad79a75ecc9ac1e77c1fededd7 (diff)
downloadpostgresql-25e9b0e36f1bd2ddee89d6ae9c014dd02f177db3.tar.gz
postgresql-25e9b0e36f1bd2ddee89d6ae9c014dd02f177db3.zip
Remove paragraph about Linux OOM killer and fork(). Instead link to
article about OOM.
-rw-r--r--doc/src/sgml/runtime.sgml15
1 files changed, 6 insertions, 9 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 86555ba2bac..eda35adfeab 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.392 2007/12/17 14:00:52 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.393 2007/12/22 05:13:03 momjian Exp $ -->
<chapter Id="runtime">
<title>Operating System Environment</title>
@@ -1256,14 +1256,11 @@ Out of Memory: Killed process 12345 (postgres).
<para>
On Linux 2.6 and later, an additional measure is to modify the
kernel's behavior so that it will not <quote>overcommit</> memory.
- Although this setting will not prevent the OOM killer from
- being invoked altogether, it will lower the chances significantly and
- will therefore lead to more robust system behavior. (It might also
- cause <function>fork()</> to fail when the machine appears to have
- available memory but it is actually reserved
- to other applications with careless memory allocation.) This
- is done by selecting strict overcommit mode via
- <command>sysctl</command>:
+ Although this setting will not prevent the <ulink
+ url="http://lwn.net/Articles/104179/">OOM killer</> from being invoked
+ altogether, it will lower the chances significantly and will therefore
+ lead to more robust system behavior. This is done by selecting strict
+ overcommit mode via <command>sysctl</command>:
<programlisting>
sysctl -w vm.overcommit_memory=2
</programlisting>