read from /proc stalls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Please excuse me if this is the wrong place to ask this question.

File operations are stalling when reading from my proc filesystem. As a 
result, I have several ksysguardd and gnome-system-monitor processes running 
that I am unable to kill even when I use kill -9. (Kill -9 can't kill a 
process when it is waiting on I/O) Strangely top still works.

I ran strace against ksysguardd. The last couple lines of output were:
open("/proc/32339/cmdline", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fe1000
read(4, monitors

I tried 'strace cat /proc/32339/cmdline'. Here are the last 5 lines:
close(3)                                = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 24), ...}) = 0
open("/proc/32339/cmdline", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3,

I tried remounting the proc filesystem:
umount -l /proc
mount proc -t proc /proc

One thing I should note is that the process with pid 32339 is kdetv. The 
window closed (IIRC it froze, so I Ctrl+Alt+Esc'd it) but the process 
remained in the background. I reopened kdetv and everything acted normally, 
but there is still that lingering process.

Does anyone know what is broken here? I know I could probably reboot and have 
the problem go away, but I'd rather fix it so that it doesn't happen again.

Any advice?

Thanks,
Greg Martyn

Attachment: pgpRZwdQUYiFZ.pgp
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux