Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2003 17:24:42 -0300
From:      "Daniel C. Sobral" <dcs@tcoip.com.br>
To:        Mike Silbersack <silby@silby.com>
Cc:        Garance A Drosihn <drosih@rpi.edu>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Juli Mallett <jmallett@FreeBSD.org>, Eivind Eklund <eivind@FreeBSD.org>, David Schultz <das@FreeBSD.org>, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm ... SIGDANGER
Message-ID:  <3E723A8A.8070100@tcoip.com.br>
In-Reply-To: <20030314140414.V4480@odysseus.silby.com>
References:  <8023.1047662161@critter.freebsd.dk> <p05200f2bba97e5a92150@[128.113.24.47]> <20030314140414.V4480@odysseus.silby.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Silbersack wrote:
> 
> I'm really not sure how much of a help this SIGDANGER or whatever will be.
> As I see it, there are two cases of OOM:
> 
> 1.  Heavy load, lots of busy processes, all legitimate.
>     - Nobody has complained about this case having problems.
> 
> 2.  Light load, then some program goes crazy and forks / chews up ram.  X
>     gets killed.
>     - I think this is what people are complaining about.

No, there are a couple of other cases:

3) Serious Processing(tm) application blithely allocates memory until 
memory allocation fails. At that point it stops allocating memory. 
Another application then uses some previously untouched allocated 
memory, and first application gets killed losing hours of work.

4) Very Important Server allocates a lot of memory, and gets killed when 
stupid user starts another xterm.

Whatever you may or may not think the correct way of handling these two 
cases is, people *have* complained of our present way of handling them.

-- 
Daniel C. Sobral                   (8-DCS)
Gerencia de Operacoes
Divisao de Comunicacao de Dados
Coordenacao de Seguranca
TCO
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: Daniel.Capo@tco.net.br
         Daniel.Sobral@tcoip.com.br
         dcs@tcoip.com.br

Outros:
	dcs@newsguy.com
	dcs@freebsd.org
	capo@notorious.bsdconspiracy.net

Lowery's Law:
	If it jams -- force it.  If it
	breaks, it needed replacing anyway.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E723A8A.8070100>