Messages in this thread | | | Date | Wed, 2 Aug 2000 22:19:42 +0100 (BST) | From | Tigran Aivazian <> | Subject | Re: 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/
| |