|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.389 2007/12/16 11:24:25 momjian Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.390 2007/12/17 13:48:31 alvherre Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter Id="runtime">
|
4 | 4 | <title>Operating System Environment</title>
|
@@ -1257,10 +1257,11 @@ Out of Memory: Killed process 12345 (postgres).
|
1257 | 1257 | On Linux 2.6 and later, an additional measure is to modify the
|
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 |
| -invoking altogether, it will lower the chances significantly and |
| 1260 | +being invoked 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 memory |
1263 |
| - because of other applications with careless memory allocation.) This |
| 1262 | + cause <function>fork()</> to fail when the machine appears to have |
| 1263 | +available memory but it is actually reserved |
| 1264 | + to other applications with careless memory allocation.) This |
1264 | 1265 | is done by selecting strict overcommit mode via
|
1265 | 1266 | <command>sysctl</command>:
|
1266 | 1267 | <programlisting>
|
|