From owner-freebsd-current Sun May 6 10:58:14 2001 Delivered-To: freebsd-current@freebsd.org Received: from netbank.com.br (garrincha.netbank.com.br [200.203.199.88]) by hub.freebsd.org (Postfix) with ESMTP id B829637B424 for ; Sun, 6 May 2001 10:58:07 -0700 (PDT) (envelope-from riel@conectiva.com.br) Received: from surriel.ddts.net (unknown [200.181.137.248]) by netbank.com.br (Postfix) with ESMTP id 960A44681B; Sun, 6 May 2001 14:59:10 -0300 (BRST) Received: from localhost (ouyylc@localhost [127.0.0.1]) by surriel.ddts.net (8.11.3/8.11.2) with ESMTP id f46Hvbi13197; Sun, 6 May 2001 14:57:38 -0300 Date: Sun, 6 May 2001 14:57:37 -0300 (BRST) From: Rik van Riel X-Sender: riel@imladris.rielhome.conectiva To: Kris Kennaway Cc: Dennis Glatting , freebsd-stable@frebsd.org, freebsd-current@FreeBSD.ORG Subject: Re: pgm to kill 4.3 via vm In-Reply-To: <20010506044724.A24309@xor.obsecurity.org> Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 6 May 2001, Kris Kennaway wrote: > On Sat, May 05, 2001 at 02:37:07PM -0700, Dennis Glatting wrote: > > > > I wrote a trivial program to fill vm and found I can reliably freeze my > > system. It may not work on the first attempt, but certainly within three. > > My command line is: > > > > a.out&;a.out&;a.out&;a.out&;a.out& > > What resource limits have you set? In theory, the code at line 1124 and further in vm_pageout.c should kill of of these processes and allow the system to survive. The only way for the system to die is if this code was broken by a recent change in the system... [but yes, on a production system you'd want to run with sane resource limits] regards, Rik -- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose... http://www.surriel.com/ http://distro.conectiva.com/ Send all your spam to aardvark@nl.linux.org (spam digging piggy) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message