From owner-freebsd-stable@FreeBSD.ORG Fri Jun 20 10:16:31 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E95937B401 for ; Fri, 20 Jun 2003 10:16:31 -0700 (PDT) Received: from moghedien.mukappabeta.net (moghedien.mukappabeta.net [194.145.150.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 037EC43F3F for ; Fri, 20 Jun 2003 10:16:31 -0700 (PDT) (envelope-from mkb@moghedien.mukappabeta.net) Received: by moghedien.mukappabeta.net (Postfix, from userid 1000) id BF7CD2D2C; Fri, 20 Jun 2003 19:16:21 +0200 (CEST) Date: Fri, 20 Jun 2003 19:16:21 +0200 From: Matthias Buelow To: Kris Kennaway Message-ID: <20030620171621.GA18410@moghedien.mukappabeta.net> References: <20030620155516.GC7055@tulip.epweb.co.za> <20030620170943.GB53684@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030620170943.GB53684@rot13.obsecurity.org> User-Agent: Mutt/1.4.1i cc: freebsd-stable@freebsd.org cc: William Fletcher Subject: Re: Zsh fork bomb paniced my kernel. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 17:16:31 -0000 Kris Kennaway writes: >Yes, this is a FAQ, and why resource limits exist. man login.conf It needs to be fixed nevertheless. I reported something similar back in, I think, ca. 1996 (also against NetBSD, iirc). Not much has been done it that area since, as it seems. With my fork bomb, the system didn't panic but simply froze solid. The kernel must enforce freeing resources when they're used up. By killing random processes, trying to identify the culprit process(es), or whatever. Simply hanging or panicking is not an option. -- Matthias Buelow; mkb@{mukappabeta.de,informatik.uni-wuerzburg.de} ``Entia non sunt multiplicanda praeter necessitatem.'' -- William of Ockham (~1285-1349, "Occam's Razor")