lkml.org 
[lkml]   [1999]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: dynamic allocation problem in linux => DoS for all
On Sat, 11 Sep 1999, Victor STANESCU wrote:

> The problem affects a Redhat 6.0 (glibc 2.1) and a Slackware 3.6
> (libc.so.5) , tested both with 2.0.36 and 2.2.5 kernels.

The problem affects just about all systems with virtual memory that don't
have fascist policy defaults. It's called overcommit, and it's usually a
good thing.

To turn on limits, set them at login time, perhaps with the PAM limits
module.

By the way, limits are not enough to guarantee safety if (number of users)
x (user rlimit) > (ram + swap). Think on that a while to see why the
kernel doesn't have a policy.

--
"Love the dolphins," she advised him. "Write by W.A.S.T.E.."


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

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