Messages in this thread | | | From | "Khimenko Victor" <> | Date | Mon, 27 Mar 2000 18:39:56 +0400 (MSD) | Subject | Re: 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/
| |