Re: Avoiding OOM on overcommit...?

From: Marco Colombo (marco@esi.it)
Date: Tue Mar 28 2000 - 06:50:29 EST


On Mon, 27 Mar 2000, Linda Walsh wrote:

> Khimenko Victor wrote:
> > There is small difference: there are disk quotas, but there are NO memory
> > quotas :-( Per-user ones, not per-process ones I mean...
> ---
> Maybe there need to be memory quotas. Dunno. But referring to the
> file system. It is the file doing the write that returns with an error
> code. Not another random process that happened to be using disk space. Also,
> reserving 5% (for root) isn't considered to be a horrible kludge to allow
> for recovery from such situations.

But 5% reservation is not there for recovery from FS full situation.
Ext2 guys should drop a word here, but AFAIK it's mainly for performance
reasons (it was for FFS, where it was introduced the first time: at 95%
many allocation optimizations simpy failed).

>
> -linda
>
> --
> Linda A Walsh | Trust Technology, Core Linux, SGI
> law@sgi.com | Voice: (650) 933-5338
>

.TM.

-- 
      ____/  ____/   /
     /      /       /			Marco Colombo
    ___/  ___  /   /		      Technical Manager
   /          /   /			 ESI s.r.l.
 _____/ _____/  _/		       Colombo@ESI.it

- 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/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:21 EST