From owner-cvs-all Tue Feb 19 21:31:10 2002 Delivered-To: cvs-all@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 1019337B400; Tue, 19 Feb 2002 21:31:06 -0800 (PST) Received: from peter3.wemm.org ([12.232.27.13]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020220053105.BYIY2951.rwcrmhc53.attbi.com@peter3.wemm.org>; Wed, 20 Feb 2002 05:31:05 +0000 Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id g1K5V5s39686; Tue, 19 Feb 2002 21:31:05 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id CBF7539F1; Tue, 19 Feb 2002 21:31:04 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Sheldon Hearn Cc: Mike Silbersack , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_fork.c In-Reply-To: <15675.1014160079@axl.seasidesoftware.co.za> Date: Tue, 19 Feb 2002 21:31:04 -0800 From: Peter Wemm Message-Id: <20020220053104.CBF7539F1@overcee.wemm.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sheldon Hearn wrote: > > > On Mon, 18 Feb 2002 19:15:28 PST, Mike Silbersack wrote: > > > Log: > > A few misc forkbomb defenses: > > > > - Remove the printing of "proc: table full". When the table > > really is full, this would flood the screen/logs, making > > the problem tougher to deal with. > > I like the idea that my console won't be filled with crap, but what clue > will I get now that kern.maxfiles needs to be bumped? It seems to me that a rate limiter would be a better solution.. ie: only print one message per second or so. The problem with some other suggestions like "stop after 10 warnings" is that it only ever tells you the first time. You wont know if it happens again hours/days/months later. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message