From e5a9ef55ef475887fd1b697db821a3899fd6cadb Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 16 Dec 2007 11:22:33 +0000 Subject: [PATCH] Add docs about OOM killer. lst_hoe01@kwsoft.de --- doc/src/sgml/runtime.sgml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index bd273c9e89..13b3879b88 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,4 +1,4 @@ - + Operating System Environment @@ -1258,8 +1258,10 @@ Out of Memory: Killed process 12345 (postgres). kernel's behavior so that it will not overcommit memory. Although this setting will not prevent the OOM killer from invoking 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 sysctl: + will therefore lead to more robust system behavior. (It might also + cause fork() to fail when the machine appears to have available + memory.) This is done by selecting strict overcommit mode via + sysctl: sysctl -w vm.overcommit_memory=2