https://bugzilla.mindrot.org/show_bug.cgi?id=1470

--- Comment #8 from Darren Tucker <dtuc...@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to