From owner-freebsd-hackers Sun Feb 10 15:29:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from patrocles.silby.com (d31.as13.nwbl0.wi.voyager.net [169.207.135.159]) by hub.freebsd.org (Postfix) with ESMTP id 32EFF37B416 for ; Sun, 10 Feb 2002 15:29:37 -0800 (PST) Received: from localhost (silby@localhost) by patrocles.silby.com (8.11.6/8.11.6) with ESMTP id g1AHXN229306; Sun, 10 Feb 2002 17:33:28 GMT (envelope-from silby@silby.com) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Sun, 10 Feb 2002 17:33:22 +0000 (GMT) From: Mike Silbersack To: Gaspar Chilingarov Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: fork rate limit In-Reply-To: <20020210214601.GA21111@mail.web.am> Message-ID: <20020210173229.T28078-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 11 Feb 2002, Gaspar Chilingarov wrote: > Hi there! > > I've implemented suggested limits, and if you are interested, you can > try attached patch, if it's OK, i will submit it to PR database. > > Two new RLIMIT_ constants added, that control how many processes spawn > in which period. The only place from where you can set limits is a > login.conf. Also fork rate-limit does not affect processes which belong > to root. > > Patch is created against 10 Feb 20:00 UTC sources. > copy it to /usr/src and run 'patch -p1 < diffi' > > -- > Gaspar Chilingarov I've been working on other fork-related issues, I'll take a look over this in the next few days and get it committed if it's well done. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message