[Bug 13531] Re: ps auxw hangs.
Well, here's some more info: Running "ls -l /proc/22189" as a normal user gives: ls: cannot read symbolic link /proc/22189/cwd: Permission denied ls: cannot read symbolic link /proc/22189/root: Permission denied ls: cannot read symbolic link /proc/22189/exe: Permission denied total 0 dr-xr-xr-x 2 duma0019 Users 0 2007-10-11 10:33 attr -r 1 duma0019 Users 0 2007-10-11 10:33 auxv -r--r--r-- 1 duma0019 Users 0 2007-10-11 08:46 cmdline -r--r--r-- 1 duma0019 Users 0 2007-10-11 10:33 cpuset lrwxrwxrwx 1 duma0019 Users 0 2007-10-11 10:33 cwd -r 1 duma0019 Users 0 2007-10-11 10:33 environ lrwxrwxrwx 1 duma0019 Users 0 2007-10-11 10:33 exe dr-x-- 2 duma0019 Users 0 2007-10-11 08:51 fd -r--r--r-- 1 duma0019 Users 0 2007-10-11 10:33 maps -rw--- 1 duma0019 Users 0 2007-10-11 10:33 mem -r--r--r-- 1 duma0019 Users 0 2007-10-11 08:46 mounts -r 1 duma0019 Users 0 2007-10-11 10:33 mountstats -rw-r--r-- 1 duma0019 Users 0 2007-10-11 10:33 oom_adj -r--r--r-- 1 duma0019 Users 0 2007-10-11 10:33 oom_score lrwxrwxrwx 1 duma0019 Users 0 2007-10-11 10:33 root -rw--- 1 duma0019 Users 0 2007-10-11 10:33 seccomp -r--r--r-- 1 duma0019 Users 0 2007-10-11 10:33 smaps -r--r--r-- 1 duma0019 Users 0 2007-10-11 08:46 stat -r--r--r-- 1 duma0019 Users 0 2007-10-11 09:50 statm -r--r--r-- 1 duma0019 Users 0 2007-10-11 08:46 status dr-xr-xr-x 4 duma0019 Users 0 2007-10-11 10:33 task -r--r--r-- 1 duma0019 Users 0 2007-10-11 10:33 wchan Running "ls /proc/22189" as root hangs. [EMAIL PROTECTED]:~$ cat /proc/22189/cpuset / [EMAIL PROTECTED]:~$ cat /proc/22189/maps (hangs) [EMAIL PROTECTED]:~$ cat /proc/22189/mounts (gives a long list of mounts including a couple dozen ltspfs mounted flash drives, it doesn't seem that they're getting unmounted after use?) [EMAIL PROTECTED]:~$ cat /proc/22189/oom_adj 0 [EMAIL PROTECTED]:~$ cat /proc/22189/oom_score 17716 [EMAIL PROTECTED]:~$ cat /proc/22189/smaps (hangs) [EMAIL PROTECTED]:~$ cat /proc/22189/stat 22189 (Thunar) D 1 22128 22128 0 -1 4202496 6307 1183 1 0 84 12 2 2 15 0 2 0 40227757 72564736 4242 4294967295 134512640 135001212 3214304608 3214304060 4294960144 0 0 4096 2048 4294967295 0 0 17 0 0 0 0 [EMAIL PROTECTED]:~$ cat /proc/22189/statm 17716 4242 3132 120 0 9528 0 [EMAIL PROTECTED]:~$ cat /proc/22189/status Name: Thunar State: D (disk sleep) SleepAVG: 98% Tgid: 22189 Pid:22189 PPid: 1 TracerPid: 0 Uid:3302330233023302 Gid:513 513 513 513 FDSize: 32 Groups: 24 25 29 44 121 513 2002 VmPeak:70956 kB VmSize:70864 kB VmLck: 0 kB VmHWM: 16968 kB VmRSS: 16968 kB VmData:37840 kB VmStk: 272 kB VmExe: 480 kB VmLib: 12612 kB VmPTE: 100 kB Threads:2 SigQ: 0/4294967295 SigPnd: ShdPnd: SigBlk: SigIgn: 1000 SigCgt: 00018800 CapInh: CapPrm: CapEff: Cpus_allowed: 03 Mems_allowed: 1 [EMAIL PROTECTED]:~$ cat /proc/22189/wchan rwsem_down_failed_common [EMAIL PROTECTED]:~$ cat /proc/22189/attr/current cat: /proc/22189/attr/current: Invalid argument Everything else in attr/ gives the same "Invalid argument" result. -- ps auxw hangs. https://bugs.launchpad.net/bugs/13531 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 13531] Re: ps auxw hangs.
I'm noticing the same behavior on Feisty "uname -a": Linux halorentz 2.6.20-16-server #2 SMP Sun Sep 23 19:57:25 UTC 2007 i686 GNU/Linux "strace ps a" ends with: stat64("/proc/22177", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 open("/proc/22177/stat", O_RDONLY) = 6 read(6, "22177 (nbdswapd) S 5092 22177 22"..., 1023) = 198 close(6)= 0 open("/proc/22177/status", O_RDONLY)= 6 read(6, "Name:\tnbdswapd\nState:\tS (sleepin"..., 1023) = 631 close(6)= 0 open("/proc/22177/cmdline", O_RDONLY) = 6 read(6, "/bin/sh\0/usr/sbin/nbdswapd\0", 2047) = 27 close(6)= 0 stat64("/proc/22189", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 open("/proc/22189/stat", O_RDONLY) = 6 read(6, "22189 (Thunar) D 1 22128 22128 0"..., 1023) = 204 close(6)= 0 open("/proc/22189/status", O_RDONLY)= 6 read(6, "Name:\tThunar\nState:\tD (disk slee"..., 1023) = 640 close(6)= 0 open("/proc/22189/cmdline", O_RDONLY) = 6 read(6, whereupon it hangs. Other processes continue fine, I can login again after killing the terminal. I can run top, but if I hit "c" to show the full command lines then it hangs as well. There's nothing in dmesg or /var/log/syslog. The output of "strace cat /proc/22189/cmdline" is attached, note that it hangs at the end also. The machine is running as an ltsp server. /home is mounted over nfs. What other information can I provide? ** Attachment added: "strace_cat_proc_cmdline.txt" http://launchpadlibrarian.net/9946486/strace_cat_proc_cmdline.txt -- ps auxw hangs. https://bugs.launchpad.net/bugs/13531 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs