From owner-freebsd-current@FreeBSD.ORG Tue Mar 2 09:47:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DBEA16A4CE for ; Tue, 2 Mar 2004 09:47:10 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9054043D31 for ; Tue, 2 Mar 2004 09:47:09 -0800 (PST) (envelope-from pho@holm.cc) Received: (qmail 38665 invoked from network); 2 Mar 2004 17:47:08 -0000 Received: from 0x50a43f97.hknxx1.adsl-dhcp.tele.dk (HELO peter.osted.lan) (80.164.63.151) by relay.pair.com with SMTP; 2 Mar 2004 17:47:08 -0000 X-pair-Authenticated: 80.164.63.151 Received: from peter.osted.lan (localhost [127.0.0.1]) by peter.osted.lan (8.12.10/8.12.10) with ESMTP id i22Hl8H2028724 for ; Tue, 2 Mar 2004 18:47:08 +0100 (CET) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.12.10/8.12.10/Submit) id i22Hl7JT028723 for current@freebsd.org; Tue, 2 Mar 2004 18:47:07 +0100 (CET) (envelope-from pho) Date: Tue, 2 Mar 2004 18:47:07 +0100 From: Peter Holm To: current@freebsd.org Message-ID: <20040302174707.GA28694@peter.osted.lan> References: <20040302153254.GA3324@frontfree.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040302153254.GA3324@frontfree.net> User-Agent: Mutt/1.4.1i Subject: Re: Strange (deadlock?) when running ps(1) and top(1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 17:47:10 -0000 On Tue, Mar 02, 2004 at 11:32:54PM +0800, Xin LI wrote: > Hello gang, > > With a recently built kernel and world from -HEAD, I found that > running ps(1) or top(1) can sometimes trigger some weird problem > to cause the system to completely stop to respond. The situation I'm looking in a loop in userland_sysctl(): do { req2 = req; error = sysctl_root(0, name, namelen, &req2); } while (error == EAGAIN); http://people.freebsd.org/~pho/stress/cons43.html -- Peter Holm