mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Update OOM wording.
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.388 2007/12/16 11:22:33 momjian Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.389 2007/12/16 11:24:25 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter Id="runtime">
|
<chapter Id="runtime">
|
||||||
<title>Operating System Environment</title>
|
<title>Operating System Environment</title>
|
||||||
@ -1259,8 +1259,9 @@ Out of Memory: Killed process 12345 (postgres).
|
|||||||
Although this setting will not prevent the OOM killer from
|
Although this setting will not prevent the OOM killer from
|
||||||
invoking altogether, it will lower the chances significantly and
|
invoking altogether, it will lower the chances significantly and
|
||||||
will therefore lead to more robust system behavior. (It might also
|
will therefore lead to more robust system behavior. (It might also
|
||||||
cause fork() to fail when the machine appears to have available
|
cause fork() to fail when the machine appears to have available memory
|
||||||
memory.) This is done by selecting strict overcommit mode via
|
because of other applications with careless memory allocation.) This
|
||||||
|
is done by selecting strict overcommit mode via
|
||||||
<command>sysctl</command>:
|
<command>sysctl</command>:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
sysctl -w vm.overcommit_memory=2
|
sysctl -w vm.overcommit_memory=2
|
||||||
|
Reference in New Issue
Block a user