From owner-freebsd-current Sun Apr 11 16:17:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 3E6A114DA8 for ; Sun, 11 Apr 1999 15:53:08 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id PAA32636; Sun, 11 Apr 1999 15:00:54 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id PAA05104; Sun, 11 Apr 1999 15:00:50 -0600 (MDT) Message-Id: <199904112100.PAA05104@harmony.village.org> To: Kevin Day Subject: Re: DoS from local users (fwd) Cc: dillon@apollo.backplane.com (Matthew Dillon), hasty@rah.star-gate.com, dv@dv.ru, green@unixhelp.org, freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Sat, 10 Apr 1999 15:57:26 CDT." <199904102057.PAA27724@home.dragondata.com> References: <199904102057.PAA27724@home.dragondata.com> Date: Sun, 11 Apr 1999 15:00:50 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199904102057.PAA27724@home.dragondata.com> Kevin Day writes: : i.e. uid 1001 starts 40 processes eating as much cpu as they can. Then uid : 1002 starts up one process. Uid 1002's process gets 50% cpu, and uid 1001's : 40 processes get 50% cpu shared between them. I've seen some experimental patches in the past that try to do just this. However, there are some problems. What if uid 1002's process does a sleep. Should the 40 processes that 1001 just get 50% of the cpu? Or should there be other limits. It turns into an interesting research problem in a hurry. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message