lkml.org 
[lkml]   [2000]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Avoiding OOM on overcommit...?
In <38DE99F6.AC0BFFD0@sgi.com> Linda Walsh (law@sgi.com) wrote:
> David Whysong wrote:
>> If you run out of a resource, the system should not crash. The kernel just
>> has to free up the resource. A convenient way of doing that is to kill a
>> user process.
> ---
> Then you have violated the integrity of the user-process space.
> Tell me, which processes are killed when the system runs out file descriptors?

One who request additional file desriptor if there are none usually will die.

> How about processes?

The same.

> Disk space?

If process will write to middle of file with holes it'll be killed. JUST like
with memory.

> Why are you treating memory differently?

Since OOM happens MUCH more frequently then "no file descriptors" or "no more
processes" problem. You can extend number of filedescriptors with just `echo'
command. You can not add memory with such easy.





-
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.157 / U:1.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site