Currently have this problem on 12.04 when running as root and running
'ps -ef'. 'ps' alone works. 'top' works. Below, the output of strace
where it hangs. Seams that the problem is Xorg in my case. I just
switch my computer to the proprietary ATI driver. Still, regardless of
what is running, ps (or the underlining /proc) should never hang. I
tried the following and it hangs too. <CTRL-C> does not help.
# cat /proc/1899/cmdline
strace of ps:
[... deleted lines ...]
write(1, "bind 1881 1 0 07:35 ? "..., 72bind 1881 1 0 07:35
? 00:00:00 /usr/sbin/named -u bind
) = 72
stat("/proc/1899", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
open("/proc/1899/stat", O_RDONLY) = 6
read(6, "1899 (Xorg) D 1867 1899 1899 103"..., 1023) = 380
close(6) = 0
open("/proc/1899/status", O_RDONLY) = 6
read(6, "Name:\tXorg\nState:\tD (disk sleep)"..., 1023) = 763
close(6) = 0
open("/proc/1899/cmdline", O_RDONLY) = 6
read(6,
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/910287
Title:
ps hangs when listing root processes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/910287/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs