|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.387 2007/12/1610:17:13 momjian Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.388 2007/12/1611:22:33 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter Id="runtime">
|
4 | 4 | <title>Operating System Environment</title>
|
@@ -1258,8 +1258,10 @@ Out of Memory: Killed process 12345 (postgres).
|
1258 | 1258 | kernel's behavior so that it will not <quote>overcommit</> memory.
|
1259 | 1259 | Although this setting will not prevent the OOM killer from
|
1260 | 1260 | invoking altogether, it will lower the chances significantly and
|
1261 |
| - will therefore lead to more robust system behavior. This is done |
1262 |
| - by selecting strict overcommit mode via <command>sysctl</command>: |
| 1261 | + will therefore lead to more robust system behavior. (It might also |
| 1262 | + cause fork() to fail when the machine appears to have available |
| 1263 | + memory.) This is done by selecting strict overcommit mode via |
| 1264 | + <command>sysctl</command>: |
1263 | 1265 | <programlisting>
|
1264 | 1266 | sysctl -w vm.overcommit_memory=2
|
1265 | 1267 | </programlisting>
|
|