[lkml]   [2009]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Linux killed Kenny, bastard!
    On Tue, Jan 13, 2009 at 12:15:10PM +0000, Alan Cox ( wrote:
    > > Who should adjust the scores for newly created processes? Who should
    > > check that processes in the first group have negative oom ajustment and
    > > in the second group a positive value? Who determines when its time to
    > > ajust the scores?
    > This is policy. Where does policy go ? User space

    Don't you notice how many 'who' were placed and only single 'user space'
    answer? Becasue it is not an answer, it is a theoretical POV, which does
    not really work in practice, since it is way too unconvenient and
    error-prone, and actually it does not work when needed, since because of
    its complexity something will be missed. I've just talked with the
    admins who originally requested 'kill-by-name' feature why they did not
    work with /proc/.../oom_adj, and got a nice answer: we tries, but
    likely something went wrong and it did not work the way we wanted.

    There is no way to know that adjustment is correct, that everything was
    uptodate when oom happend, that nothing was forgotten and practice shows
    that there are always such problems and invalid tasks are killed.

    When you put a name you do know that it works, since it is only single
    place to be updated and no need to bother with ugly tools or changes
    especially to handle short-living processes.

    Evgeniy Polyakov

     \ /
      Last update: 2009-01-13 13:33    [W:0.020 / U:9.752 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site