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

           Summary: /proc/self/oom_adj needs to use
                    /proc/self/oom_score_adj
           Product: Portable OpenSSH
           Version: 5.6p1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: sshd
        AssignedTo: [email protected]
        ReportedBy: [email protected]


/proc/self/oom_adj is deprecated in Linux 2.6.36 and later kernels; it
is scheduled for removal in August 2012.

sshd uses this interface to disable oom killing.

The new interface to use is /proc/self/oom_score_adj.  Instead of
writing -17 to /proc/self/oom_adj, sshd should now write -1000 to
/proc/self/oom_score_adj for the same behavior.

The filename and OOM_ADJ_NOKILL needs to be changed in
openbsd-compat/port-linux.c for 2.6.36 and later kernels.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to