From owner-freebsd-current Sat Apr 10 12:13:42 1999 Delivered-To: freebsd-current@freebsd.org Received: from kot.ne.mediaone.net (kot.ne.mediaone.net [24.218.12.203]) by hub.freebsd.org (Postfix) with ESMTP id 5DE0715291 for ; Sat, 10 Apr 1999 12:13:30 -0700 (PDT) (envelope-from mi@kot.ne.mediaone.net) Received: (from mi@localhost) by kot.ne.mediaone.net (8.9.1a/8.9.1) id PAA26955 for current@freebsd.org; Sat, 10 Apr 1999 15:10:52 -0400 (EDT) From: Mikhail Teterin Message-Id: <199904101910.PAA26955@kot.ne.mediaone.net> Subject: Re: DoS from local users (fwd) In-Reply-To: from Brian Feldman at "Apr 10, 1999 02:07:27 pm" To: current@freebsd.org Date: Sat, 10 Apr 1999 15:10:52 -0400 (EDT) X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7w hJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Once again - HOW I can limit CPU usage by *kernel* ? Also, I've just => tried set maxprocesses 5. And it helpless. With 5 processes limit => user was able to slow down P2-450 computer. Switching between windows => in X was VERY slow. Mouse movements was slow down too. => CPU states: 32.3% user, 0.0% nice, 67.2% system, 0.0% interrupt, 0.5% idle =If you want to preempt other tasks, make that user's tasks niced!! Which user? You don't know until it happens... And the mentioned already baseball bat is more effective _after_ the fact. The question is, is it possible to prevent this from happening in the first place, without quering the Human Resources department for each user's mental profile?.. -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message