lkml.org 
[lkml]   [2000]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] OOM killer API (was: [PATCH] VM fix for 2.4.0-test9 & OOM handler)
    On Wed, 11 Oct 2000, Bruce A. Locke wrote:

    >
    > Your making the deadly assumption that all applications behave themselves
    > exactly the same all the time. Oops... netscape decided to freak out and
    > take up all your memory... guess its the admins fault. Oops... some
    > mod_perl script decided to freak out and an apache process decides to suck
    > all of your CPU and MEM.
    >

    that's why you have per process limits set. Eg, PAM makes this
    exceedingly easy with pam_limit.so -> edit /etc/security/limit.conf.

    this prevents at least 90% of OOM situations (ie individual leaky
    processes). eg netscape will then pop-up "can not allocate memory"
    messages and stop rendering pages instead of crashing your system.

    --paulj

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:39    [W:0.024 / U:0.308 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site