projects
/
matthijs
/
servers
/
drsnuggles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c8d29d
)
ssh: Disable changing of the oom_adj value.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 5 May 2009 15:07:10 +0000
(17:07 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 5 May 2009 15:07:10 +0000
(17:07 +0200)
This value is meant for making sure ssh is never killed by the oom
killer, but that is not allowed inside vservers.
etc/default/ssh
patch
|
blob
|
history
diff --git
a/etc/default/ssh
b/etc/default/ssh
index 9680d3427a9ad345dcdc78e485cac60900815190..afbc23b54fac191fc3dd568f079c74d15712470b 100644
(file)
--- a/
etc/default/ssh
+++ b/
etc/default/ssh
@@
-8,4
+8,5
@@
SSHD_OPTS=
# linux/Documentation/filesystems/proc.txt; lower values reduce likelihood
# of being killed, while -17 means the OOM-killer will ignore sshd; set to
# the empty string to skip adjustment)
-SSHD_OOM_ADJUST=-17
+# Disabled since oom_adj is not available inside vservers
+SSHD_OOM_ADJUST=