[Bug 1470] adjust Linux out-of-memory killer to stop sshd being killed
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Mon Dec 7 17:14:17 EST 2009
https://bugzilla.mindrot.org/show_bug.cgi?id=1470
--- Comment #8 from Darren Tucker <dtucker at zip.com.au> 2009-12-07 17:14:16 EST ---
(In reply to comment #3)
> The one oddity is that
> the message logged by verbose() when restoring the original oom_adj
> value shows up three times in /var/log/syslog.
I think I can explain that:
#1: Despite what's implied by the message oom_adjust_setup() actually
logs the saved value not the set value:
+ verbose("Set %s to %d",
+ OOM_ADJ_PATH, oom_adj_save);
#2: oom_adjust_setup() gets called a second time when sshd re-execs
itself to randomize its address space.
#3: the real call to oom_adjust_restore()
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
More information about the openssh-bugs
mailing list