From owner-freebsd-current@FreeBSD.ORG Sun Jul 22 00:15:17 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1F2816A419 for ; Sun, 22 Jul 2007 00:15:17 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id 886AF13C45E for ; Sun, 22 Jul 2007 00:15:17 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (4mcgjwud5vu7ipnn@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l6M0FFbQ077015; Sat, 21 Jul 2007 17:15:15 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l6M0FE2Y077014; Sat, 21 Jul 2007 17:15:14 -0700 (PDT) (envelope-from jmg) Date: Sat, 21 Jul 2007 17:15:14 -0700 From: John-Mark Gurney To: kevin kramer Message-ID: <20070722001514.GB1221@funkthat.com> Mail-Followup-To: kevin kramer , freebsd-current@freebsd.org References: <469E3B7C.4020402@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <469E3B7C.4020402@centtech.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-current@freebsd.org Subject: Re: processes stuck in kqread X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2007 00:15:17 -0000 kevin kramer wrote this message on Wed, Jul 18, 2007 at 11:10 -0500: > I have been having issues for some time on -CURRENT. My latest update > was 7/11. I have identified these processes as being stuck in kqread > while waiting for them to continue. > > Processes that I know are a problem: > sshd - I can watch a login and the process goes from Select to kqread, > takes about 3-4 minutes to get a login prompt > top - takes about 2-3 minutes to come up > tar - never really even starts to read data in and stays in kqread > > Processes not affected: > scp > gstat > cvsup > make > > This machine is running AMD64 GENERIC kernel on a Dual-Core Xeons. > dmesg.txt and top-trace.txt here, http://users.centtech.com/~kramer/snapshot > > What do I do to debug this? running the process under ktrace would help identify what it is waiting for... Though if it usually hangs for a minute or two in kqread, and then continues, it's probably a DNS lookup issue... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."