From owner-freebsd-current Thu Mar 12 10:34:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA00733 for freebsd-current-outgoing; Thu, 12 Mar 1998 10:34:39 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dan.emsphone.com (dan@dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA00715; Thu, 12 Mar 1998 10:34:29 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.8.6/8.8.6) id MAA13009; Thu, 12 Mar 1998 12:34:27 -0600 (CST) Message-ID: <19980312123427.A12954@emsphone.com> Date: Thu, 12 Mar 1998 12:34:27 -0600 From: Dan Nelson To: Mikael Karpberg , "Jordan K. Hubbard" Cc: freebsd-current@FreeBSD.ORG Subject: Re: idprio/rtprio References: <1099.889666284@time.cdrom.com> <199803121638.RAA17665@ocean.campus.luth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.90.5i In-Reply-To: <199803121638.RAA17665@ocean.campus.luth.se>; from "Mikael Karpberg" on Thu Mar 12 17:38:08 GMT 1998 X-OS: FreeBSD 2.2.5-STABLE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Mar 12), Mikael Karpberg said: > According to Jordan K. Hubbard: > > > First, contrary to what the manpage says, an ordinary user can no > > > longer run idprio. > > > > It's the man page that's wrong since this was disallowed awhile > > back after BEST Internet filed a PR noting that an ordinary user > > could put your system in very bad shape by using it. The man page > > has been fixed, thanks. > > Hmm... I just can't seem to remember how. Breif summary? > How? Easy. Run rc564 at idlepri, and run another high-CPU process. Eventually, the rc564 process will try a filesystem operation. After that, every process trying to hit a file will hang too. If you unidprio the rc564 process or kill the high-cpu process (letting rc564 run again) everything will return to normal. I've done this to myself three or four times, and have resorted to running rc564 at nice 20 for now. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message