lkml.org 
[lkml]   [2000]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Memory management...
On Wed, 2 Aug 2000, Richard B. Johnson wrote:
> So what did you expect? Now turn on user limits.

did you actually try your own suggestion? Iwas rather puzzled by the fact
that turning on the user limits is obviously not enough. Or at least not
the obvious user limits (RLIMIT_DATA, RLIMIT_STACK, RLIMIT_RSS) but a
rather unobvious one - RLIMIT_AS. This is because malloc(3) uses not just
brk(2) system call (which honours RLIMIT_DATA) but
mmap(MAP_PRIVATE|MAP_ANONYMOUS) which honours RLIMIT_AS.

Regards,
Tigran


-
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:57    [W:0.055 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site