I have RH8.0 (with all updates) installed on an Athlon/Asus A7V. I find
after some time that I am unable to run the ps command. Running ps
freezes the console or terminal it's run on. Once this has happened, if I
attempt to shut the machine down, it hangs after stopping the RHN daemon
and has to be reset.
Here's the last few lines of an strace of ps:
open("/proc/1109/environ", O_RDONLY) = 7
read(7, "CONSOLE=/dev/console\0TERM=linux\0"..., 2047) = 241
close(7) = 0
brk(0x816a000) = 0x816a000
stat64("/proc/1111", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
open("/proc/1111/stat", O_RDONLY) = 7
read(7, "1111 (makewhatis) S 1108 828 828"..., 511) = 207
close(7) = 0
open("/proc/1111/statm", O_RDONLY) = 7
read(7, "280 280 235 104 0 176 45\n", 511) = 25
close(7) = 0
open("/proc/1111/status", O_RDONLY) = 7
read(7, "Name:\tmakewhatis\nState:\tS (sleep"..., 511) = 439
close(7) = 0
open("/proc/1111/cmdline", O_RDONLY) = 7
read(7, "/bin/sh\0/usr/sbin/makewhatis\0-u\0"..., 2047) = 35
close(7) = 0
open("/proc/1111/environ", O_RDONLY) = 7
read(7, "CONSOLE=/dev/console\0SHELL=/bin/"..., 2047) = 253
close(7) = 0
stat64("/proc/1185", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
open("/proc/1185/stat", O_RDONLY) = 7
read(7,
And that's where it hangs. If I 'ls /proc/1185', that hangs as well. In
fact, if I 'ls /proc/1185/exe' it hangs, but listing other files in the
/proc/1185 directory or in other subdirectories of /proc works fine.
I've run memtest86-3.0 for 25 passes with no error, and the disk drive (a
Maxtor 60G) exhibits no odd behavior and passes badblocks and e2fsck (not
that the disk drive would be a suspect for /proc problems). This will
happen in runlevel 3 or 5, and it will happen if I just boot the machine
and leave it for a while, so it's caused by something that runs on its
own.
I also have a Duron on the same motherboard in another similarly equipped
machine which starts the same services on boot, and I haven't seen any
problem with that or with any of my other machines. The problem started
only recently, but I can't pinpoint exactly when or what the last change
was.
Any idea what might be going on or how I can identify the offending
process and get more information?
Thanks for any hints.
--
Matthew Saltzman
Clemson University Math Sciences
[EMAIL PROTECTED]
http://www.math.clemson.edu/~mjs
--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list