From owner-freebsd-questions@FreeBSD.ORG Sun Aug 3 10:29:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3683037B401 for ; Sun, 3 Aug 2003 10:29:11 -0700 (PDT) Received: from gaff.hhhr.ision.net (gaff.hhhr.ision.net [195.180.9.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38B4F43FD7 for ; Sun, 3 Aug 2003 10:29:10 -0700 (PDT) (envelope-from ohoyer@gaff.hhhr.ision.net) Received: from gaff.hhhr.ision.net (localhost [127.0.0.1]) by gaff.hhhr.ision.net (8.12.9/8.12.9) with ESMTP id h73HTFfD088920 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 3 Aug 2003 19:29:15 +0200 (CEST) (envelope-from ohoyer@gaff.hhhr.ision.net) Received: from localhost (ohoyer@localhost)h73HTDDF088917; Sun, 3 Aug 2003 19:29:14 +0200 (CEST) Date: Sun, 3 Aug 2003 19:29:13 +0200 (CEST) From: Olaf Hoyer To: Rus Foster In-Reply-To: <20030803034210.J73591@thor.65535.net> Message-ID: <20030803192711.C88881-100000@gaff.hhhr.ision.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@freebsd.org Subject: Re: I/O Flooding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2003 17:29:11 -0000 On Sun, 3 Aug 2003, Rus Foster wrote: > Hi All, > I'm trying to work out a good way of stopping one process flooding the > I/O. Basically I have a multuple user machine and would like to try to > stop one person taking it down... Hi! You will basically use login.conf to put user in user classes (set via chpass $USER) and then restrict the number of simultaneous processes as the simple way to do it. You can also limit the total CPU time a user is allowed to handle. But then you'd also have to look for processes that are allowed to run as root... HTH Olaf -- Olaf Hoyer ohoyer@gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese)