From: Bruce Momjian Date: Sun, 16 Dec 2007 11:22:33 +0000 (+0000) Subject: Add docs about OOM killer. X-Git-Tag: REL8_3_RC1~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5a9ef55ef475887fd1b697db821a3899fd6cadb;p=postgresql Add docs about OOM killer. lst_hoe01@kwsoft.de --- 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