lkml.org 
[lkml]   [2003]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Protecting processes from the OOM killer
    Date
    On Friday 28 February 2003 10:08 am, Dan Kegel wrote:
    > Alan Cox wrote:
    snip
    > > Everything else is armwaving "works half the time" stuff. By the time
    > > the OOM kicks in the game is already over.
    >
    > Even with overcommit disallowed, the OOM killer is going to run
    > when my users try to run too big a job, so I would still like
    > the OOM killer to behave "well".

    Shouldn't - the process the user tries to run will not be started since
    it must reserve the space first. malloc will fail immediately, allowing the
    process to handle the even gracefully and exit.

    Anything else is a bug in the application.

    --
    -------------------------------------------------------------------------
    Jesse I Pollard, II
    Email: pollard@navo.hpc.mil

    Any opinions expressed are solely my own.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:33    [W:4.493 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site