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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to