From owner-freebsd-stable Tue Jan 8 20:11:44 2002 Delivered-To: freebsd-stable@freebsd.org Received: from services.webwarrior.net (overlord-host99.dsl.visi.com [209.98.86.99]) by hub.freebsd.org (Postfix) with ESMTP id 966B637B41E for ; Tue, 8 Jan 2002 20:11:41 -0800 (PST) Received: from twincat.vladsempire.net (hutch-211.hutchtel.net [206.10.67.139]) by services.webwarrior.net (Postfix) with ESMTP id 817E0313 for ; Tue, 8 Jan 2002 22:12:13 -0600 (CST) Received: by twincat.vladsempire.net (Postfix, from userid 1001) id 057BE388A; Tue, 8 Jan 2002 22:11:30 +0000 (GMT) Date: Tue, 8 Jan 2002 22:11:30 +0000 From: Josh Paetzel To: Doug White Cc: Josh Paetzel , freebsd-stable@FreeBSD.ORG Subject: Re: Reproducable system hangs in -STABLE Message-ID: <20020108221130.B29685@twincat.vladsempire.net> Mail-Followup-To: Doug White , Josh Paetzel , freebsd-stable@FreeBSD.ORG References: <20020107200706.B17764@twincat.vladsempire.net> <20020108125734.S84761-100000@resnet.uoregon.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020108125734.S84761-100000@resnet.uoregon.edu>; from dwhite@resnet.uoregon.edu on Tue, Jan 08, 2002 at 12:58:58PM -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jan 08, 2002 at 12:58:58PM -0800, Doug White wrote: > On Mon, 7 Jan 2002, Josh Paetzel wrote: > > > > > While running two copies of dnetc, running xmms will hang my system > > > > with a hard lock up. > > I think I've seen this appear before for non-priority problems too though > ... hm ... > > > > This is the classic priority inversion problem. How are you starting your > > > dnetc's? > > > They are starting at boot time from the script that the port installs > > into /usr/local/etc/rc.d > > Make sure you are NOT nice(1)ing dnetc OR xmms. nice -20 or idprio'ing > dnetc will cause an instant lockup. I'm not nicing the processes manually at all. The script gives dnetc a nice value of 20. > > What happens if you run only one dnetc? Hmm, evidentally you didn't see or don't remember my original post. I can only reproduce this lockup ONE way. I need to have 2 dnetc's running, and one xmms. I can't reproduce it using setiathome instead of dnetc, or mpg123 instead of xmms. I guess I'm pretty lucky, as I don't NEED two dnetc's running, so the workaround is simple and painless. I was just hoping to get some light shed on the situation. Josh > > Doug White | FreeBSD: The Power to Serve > dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message