lkml.org 
[lkml]   [1999]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Process memory vs. total vm, resource limiting?
Hi!

> The surprise #1 is that the dynamic alloc succeeded,
> even if the memory requested by the process was
> more than total amount of vm in the machine. I find
> the assumption that the process won't be using all
> of the requested memory a bit too optimistic.
> Is there a possibility to change this behaviour?

It should be controllable by /proc/sys/vm/overcommit_memory.

> When it consumed all of the available vm,
> it crashed with a bus error. This is _bad_ -

This is unix, I'm afraid. You are expected to kill offending tasks
before memory starts going really low.

Pavel

PS: 2.2.X has some bugs in this area (will happily kill init or
deadlock), go for 2.0.X

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