Processes blocked on ufs or getblk

From: Lachlan O'Dea <odela01_at_ca.com>
Date: Thu, 15 Jan 2004 16:51:22 +1100
-----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_at_ca.com

Relax and enjoy your shoes!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFABipaoBZahcUBONoRAqPFAKCZQZUJrTYIxOMJmwCHt7RPamn//QCeJlMJ
bXdcm6vr+Z7nBoPSqWQU3ds=
=H80i
-----END PGP SIGNATURE-----
Received on Wed Jan 14 2004 - 20:51:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:38 UTC