Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
25e9b0e3
Commit
25e9b0e3
authored
17 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Remove paragraph about Linux OOM killer and fork(). Instead link to
article about OOM.
parent
cda598e1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/runtime.sgml
+6
-9
6 additions, 9 deletions
doc/src/sgml/runtime.sgml
with
6 additions
and
9 deletions
doc/src/sgml/runtime.sgml
+
6
−
9
View file @
25e9b0e3
<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.39
2
2007/12/
17 14:00:52
momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.39
3
2007/12/
22 05:13:03
momjian Exp $ -->
<chapter Id="runtime">
<title>Operating System Environment</title>
...
...
@@ -1256,14 +1256,11 @@ Out of Memory: Killed process 12345 (postgres).
<para>
On Linux 2.6 and later, an additional measure is to modify the
kernel's behavior so that it will not <quote>overcommit</> memory.
Although this setting will not prevent the OOM killer from
being invoked altogether, it will lower the chances significantly and
will therefore lead to more robust system behavior. (It might also
cause <function>fork()</> to fail when the machine appears to have
available memory but it is actually reserved
to other applications with careless memory allocation.) This
is done by selecting strict overcommit mode via
<command>sysctl</command>:
Although this setting will not prevent the <ulink
url="http://lwn.net/Articles/104179/">OOM killer</> from being invoked
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 <command>sysctl</command>:
<programlisting>
sysctl -w vm.overcommit_memory=2
</programlisting>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment