https://bugzilla.novell.com/show_bug.cgi?id=694485 https://bugzilla.novell.com/show_bug.cgi?id=694485#c0 Summary: lsof hangs forever Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: novell-web@zmi.at QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 I upgraded this system from 11.2 to 11.4, kernel is 2.6.31.14-0.8-default. This system has run for years without a glitch. Recently I enabled IPv6 and got a tunnel therefore, but I don't know if it has anything to do with that. Anyway, I did "zypper up" today, and it stopped working. Looking at pstree, I saw that "lsof" hangs. When I call it manually, it stops here: # strace lsof -n ..many lines quick, then... readlink("/proc/7067/task/7069/fd/3", "/dev/random"..., 4096) = 11 lstat("/proc/7067/task/7069/fd/3", {st_mode=S_IFLNK|0500, st_size=64, ...}) = 0 stat("/proc/7067/task/7069/fd/3", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 8), ..}) = 0 open("/proc/7067/task/7069/fdinfo/3", O_RDONLY) = 8 fstat(8, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 8), ...}) = 0 ioctl(8, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff74c2c650) = -1 EINVAL (Invalid argument) mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb9c3607000 read(8, "\235(\204-\363\220lT\200\334}\246*.\364\0\222|\2658\363\364W\313\1\233*F\307.\243\323"..., 4096) = 36 read(8, "\222\7\254\35b\200\265\224", 4096) = 8 read(8, "_\2\272\202W\2057\r", 4096) = 8 read(8, "\367\302e\340\373L+\336", 4096) = 8 read(8, "%2\243\6\247jQ\361", 4096) = 8 read(8, "Zs=\311\311\225\302f", 4096) = 8 read(8, "\241\r\343\204)\323\372\20", 4096) = 8 read(8, "|\n\335\3\345\30\356\223", 4096) = 8 read(8, "\207\\\360\302s\361\222\250", 4096) = 8 read(8, "v(\362:\242W\2450", 4096) = 8 read(8, "o\324'\327\270\374\327\207", 4096) = 8 read(8, "$\201@z\f\315\326m", 4096) = 8 read(8, "y\227/MsX+\4", 4096) = 8 read(8, "\343\254\364\210\205>\340=", 4096) = 8 read(8, "\223H\233\216\357\t,\322", 4096) = 8 read(8, "\357W`q\376\311/*", 4096) = 8 The lines with "read(8,..." at the end appear _very_ slowly. About one every 10-20s. I retried later, getting similar output: readlink("/proc/7067/task/7069/fd/3", "/dev/random"..., 4096) = 11 lstat("/proc/7067/task/7069/fd/3", {st_mode=S_IFLNK|0500, st_size=64, ...}) = 0 stat("/proc/7067/task/7069/fd/3", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 8), ..}) = 0 open("/proc/7067/task/7069/fdinfo/3", O_RDONLY) = 8 fstat(8, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 8), ...}) = 0 ioctl(8, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7ffff5c88910) = -1 EINVAL (Invalid argument) mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa51592b000 read(8, "\22]\221\366^\246\6\312\36", 4096) = 9 read(8, "\10\275|\2216\310Di", 4096) = 8 Seems lsof hangs on /dev/random. Why? Reproducible: Always Steps to Reproduce: 1. call "lsof" Actual Results: lsof hangs Expected Results: should not hang -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.