[lkml]   [2001]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Prevent OOM from killing init
    On Sat, 24 Mar 2001, Jonathan Morton wrote:

    > Hmm... "if ( freemem < (size_of_mallocing_process / 20) ) fail_to_allocate;"
    > Seems like a reasonable soft limit - processes which have already got
    > lots of RAM can probably stand not to have that little bit more and
    > can be curbed more quickly.

    This looks like it could nicely in preventing a single process
    from getting out of hand and gobbling up all memory.

    It won't prevent the system from a mongolian horde of processes,
    but nobody should expect your one-liner to fix world piece ;)

    I like it, now lets test it ;)


    Virtual memory is like a game you can't win;
    However, without VM there's truly nothing to lose...

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:17    [W:0.025 / U:33.040 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site