From owner-freebsd-questions Sat Apr 10 0: 8:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from leap.innerx.net (leap.innerx.net [38.179.176.25]) by hub.freebsd.org (Postfix) with ESMTP id E1E8015398; Sat, 10 Apr 1999 00:08:09 -0700 (PDT) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org (ip241.houston2.tx.pub-ip.psi.net [38.11.201.241]) by leap.innerx.net (Postfix) with ESMTP id F082F37087; Sat, 10 Apr 1999 03:05:37 -0400 (EDT) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id CAA08096; Sat, 10 Apr 1999 02:05:35 -0500 (CDT) (envelope-from chris) Date: Sat, 10 Apr 1999 02:05:33 -0500 From: Chris Costello To: Dmitry Valdov Cc: freebsd-current@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: DoS from local users (fwd) Message-ID: <19990410020533.A8083@holly.dyndns.org> Reply-To: chris@calldei.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: ; from Dmitry Valdov on Sat, Apr 10, 1999 at 10:42:33AM +0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Apr 10, 1999, Dmitry Valdov wrote: > > You typically want to set a restriction as to how many > > processes a user can spawn. This is done by editing > > /etc/login.conf and changing the user's login class, see the man > > page for 'login.conf'. > > > > I'm about CPU usage, not about many processes. > See: > CPU states: 17.8% user, 0.0% nice, 81.7% system, 0.5% interrupt, 0.0% > idle > on any (tested on P2-45) machine. > > CPU is used by SYSTEM, not by USER. So I can't restrict it with login.conf > And load average can be up to 20-40 :( > > Please don't redirect me to -questions, it's a kernel problem, not just > config. How is it a kernel problem? It's a forkbomb. It spawns many processes. You can also limit CPU usage with login.conf, I believe. > > Dmitry. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > -- =================================================== * Using TSO is like kicking a dead whale down the * * beach. -- S. C. Johnson * =================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message