From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 21:51:29 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 3E28A16A4CE for ; Wed, 14 Jan 2004 21:51:29 -0800 (PST) Received: from angmar.mel.vet.com.au (angmar.mel.vet.com.au [203.39.245.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C64B43D2F for ; Wed, 14 Jan 2004 21:51:27 -0800 (PST) (envelope-from odela01@ca.com) Received: from nargothrond.ca.com (nargothrond.ca.com [155.35.178.10]) by angmar.mel.vet.com.au (Postfix) with ESMTP id 08CE214F34E for ; Thu, 15 Jan 2004 16:52:56 +1100 (EST) Received: from [155.35.171.64] (anduril-udp02333867uds.ca.com [155.35.171.64]) by nargothrond.ca.com with esmtp; Thu, 15 Jan 2004 16:51:23 +1100 Mime-Version: 1.0 (Apple Message framework v609) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-current@freebsd.org From: Lachlan O'Dea Date: Thu, 15 Jan 2004 16:51:22 +1100 X-Pgp-Agent: GPGMail 1.0 (v30, 10.3) X-Mailer: Apple Mail (2.609) Subject: Processes blocked on ufs or getblk 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: Thu, 15 Jan 2004 05:51:29 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I found some discussion about this in December, but I don't think anyone has been able to get to the bottom of it yet. The symptom is that processes become permanently blocked in a state of ufs or getblk. I can reproduce it with find at will: % ps axl | grep ufs 0 13225 13215 1 -4 0 1300 804 ufs D ?? 0:00.96 find /var -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+ 0 28778 28765 0 -4 0 1300 804 ufs D ?? 0:00.97 find /var -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+ 0 33017 32933 2 -4 0 1304 788 ufs D p2- 0:10.69 find / -name samba It has also happened several times in single user mode to makewhatis running at the end of installworld. System details: 5.2-RC FreeBSD 5.2-RC #1: Fri Jan 9 04:45:51 EST 2004. Dell PowerEdge 2500. All filesystems are on a single raid 5 volume using the aac driver. The box has two CPUs, but I'm currently running with kern.smp.disabled=1. % mount /dev/aacd0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/aacd0s1e on /usr (ufs, local, with quotas, soft-updates) /dev/aacd0s1d on /var (ufs, local, soft-updates) procfs on /proc (procfs, local) linprocfs on /usr/compat/linux/proc (linprocfs, local) I also have ACLs enabled on /usr, if that's at all relevant. The kernel has DDB and DEBUG_LOCKS. Please let me know if there's anything I can do to help debug this. I don't know if this is related, but another problem is that when shutting down, it always gives up on a bunch of buffers. I think I've seen over 100, but usually it's 4-10 buffers. - -- Lachlan O'Dea Computer Associates Programmer tel: +61 3 8416 5627 fax: +61 3 8416 5810 mobile: +61 412 390 650 odela01@ca.com Relax and enjoy your shoes! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQFABipaoBZahcUBONoRAqPFAKCZQZUJrTYIxOMJmwCHt7RPamn//QCeJlMJ bXdcm6vr+Z7nBoPSqWQU3ds= =H80i -----END PGP SIGNATURE-----