FC2 Test 1: updatedb goes into uninterruptible sleep on /sys/clas s/tty/rfcomm49

Sam Wormleighton samw at netservicesplc.com
Thu Feb 19 12:09:01 UTC 2004


System: FC2 Test 1. new install on formatted /, /var etc, but /home kept
from redhat 9 install.

Problem: updatedb is run from an nightly, but goes into an uninterruptible
sleep when trying to getdents64 on /sys/class/tty/rfcomm49. 

------------------------------------------
[root at zx root]# ps aux | grep updatedb
root     25633  0.0  0.0  3188  444 ?        DN   Feb17   0:23
/usr/bin/updatedb -f NFS,SMBFS,NCPFS,PROC,DEVPTS -e
/tmp,/var/tmp,/usr/tmp,/afs,/net
root     26802  0.0  0.1  2696  556 ?        DN   Feb18   0:23
/usr/bin/updatedb -f NFS,SMBFS,NCPFS,PROC,DEVPTS -e
/tmp,/var/tmp,/usr/tmp,/afs,/net
root      3107  0.0  0.1  2300  696 ?        DN   04:09   0:24
/usr/bin/updatedb -f NFS,SMBFS,NCPFS,PROC,DEVPTS -e
/tmp,/var/tmp,/usr/tmp,/afs,/net
------------------------------------------

------------------------------------------
[root at zx root]# tail -n6 /tmp/strace.updatedb
open("rfcomm49", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
fstat64(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fchdir(5)                               = 0
getdents64(5, 
------------------------------------------

------------------------------------------
[root at zx root]# ls -l /proc/{25633,26802,3107}/fd/5
lr-x------  1 root root 64 Feb 19 11:52 /proc/25633/fd/5 ->
/sys/class/tty/rfcomm49
lr-x------  1 root root 64 Feb 19 11:53 /proc/26802/fd/5 ->
/sys/class/tty/rfcomm49
lr-x------  1 root root 64 Feb 19 11:53 /proc/3107/fd/5 ->
/sys/class/tty/rfcomm49
------------------------------------------

Leaking load average and processes at the rate of 1 per night would
obviously cause confusion for a lot of users.

-- 
Samw





More information about the test mailing list