From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 23 01:26:24 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 44D2C8BE for ; Fri, 23 Nov 2012 01:26:24 +0000 (UTC) (envelope-from bryan-lists@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id E182F8FC0C for ; Fri, 23 Nov 2012 01:26:23 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:subject:content-type :content-transfer-encoding; q=dns; s=sweb; b=QMqQWw1LmZMzSvqGo1S ACNWzYvyiWtCKI0ec5qUUv+sQElm2rEUSaJgXWuZj44vdH1kwn4UVNW+faPYASXh lUhHyq5cMyNtTXZd6LjAcElPTI9k6CpYLvbOLif4dltuHP9TYB9DeDR5VEJ5CaSN QIJ2O+kXr7HzOrbTmby/jKW4= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=sweb; bh=/78yoOxWy5YJG7edMACfVlFy9 alemdoipyUGOHQg528=; b=ecCGRr9PzM4ihI+hq4MK+AGittE5gY9SLALgkhI33 F/P7GESmAj4IOoDsGbgrcOd2YDiWlY+ZMAXjXU8+qx+P60By7PYRJg9wqHRWdqLq V0f+jyMn0XOw6OiFUbILCDtSmihQArdEcSBs4UcwdxZfYvXzroCUDRGrYNbL7NXk 7k= Received: (qmail 67638 invoked from network); 22 Nov 2012 19:26:22 -0600 Received: from unknown (HELO ?10.10.0.115?) (bryan@shatow.net@10.10.0.115) by sweb.xzibition.com with ESMTPA; 22 Nov 2012 19:26:22 -0600 Message-ID: <50AED0B9.7040108@shatow.net> Date: Thu, 22 Nov 2012 19:26:17 -0600 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD Hackers Subject: kldstat / kernel linker deadlock X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 01:26:24 -0000 On 8.3-RELEASE I've hit a deadlock with kldstat. I can't provide much information as procstat(1) locks up and I have already rebooted the servers due to it breaking quite a bit in my setup. > # kldstat > Id Refs Address Size Name > load: 0.91 cmd: kldstat 9936 [kernel linker] 51.21r 0.00u 0.00s 0% 768k > ^C > load: 0.72 cmd: kldstat 9936 [kernel linker] 225.23r 0.00u 0.00s 0% 704k > load: 0.72 cmd: kldstat 9936 [kernel linker] 225.39r 0.00u 0.00s 0% 704k > load: 0.42 cmd: kldstat 9936 [kernel linker] 1837.24r 0.00u 0.00s 0% 692k Short list of affected processes (74 in all): > root 3685 0.0 0.0 3264 700 ?? D 7:27PM 0:00.00 kldstat > root 67061 0.0 0.0 3380 892 ?? D 7:27PM 0:00.00 /usr/bin/netstat -nrf inet > root 5579 0.0 0.0 3380 892 ?? D 7:37PM 0:00.00 /usr/bin/netstat -nrf inet > root 6393 0.0 0.0 3264 704 ?? D 7:32PM 0:00.00 /sbin/kldstat -v > root 99635 0.0 0.1 3324 1244 13 D+ 7:52PM 0:00.01 procstat -ka [... 69 more removed ...] I had 2 minutely cron entries that were running kldstat(1)/netstat(1). Guessing the kldstat(1) and netstat(1) deadlocked initially. -- Regards, Bryan Drewery bdrewery@freenode/EFNet