|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.388 2007/12/16 11:22:33 momjian Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.389 2007/12/16 11:24:25 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter Id="runtime"> |
4 | 4 | <title>Operating System Environment</title> |
@@ -1259,8 +1259,9 @@ Out of Memory: Killed process 12345 (postgres). |
1259 | 1259 | Although this setting will not prevent the OOM killer from |
1260 | 1260 | invoking altogether, it will lower the chances significantly and |
1261 | 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 |
| 1262 | + cause fork() to fail when the machine appears to have available memory |
| 1263 | + because of other applications with careless memory allocation.) This |
| 1264 | + is done by selecting strict overcommit mode via |
1264 | 1265 | <command>sysctl</command>: |
1265 | 1266 | <programlisting> |
1266 | 1267 | sysctl -w vm.overcommit_memory=2 |
|