[Bug 13531] Re: ps auxw hangs.

Steve Cayford cayfo001 at umn.edu
Thu Oct 11 16:28:39 UTC 2007


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.

steve at halorentz:~$ cat /proc/22189/cpuset
/

steve at halorentz:~$ cat /proc/22189/maps
 (hangs)

steve at halorentz:~$ 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?)

steve at halorentz:~$ cat /proc/22189/oom_adj
0

steve at halorentz:~$ cat /proc/22189/oom_score
17716

steve at halorentz:~$ cat /proc/22189/smaps
 (hangs)

steve at halorentz:~$ 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

steve at halorentz:~$ cat /proc/22189/statm
17716 4242 3132 120 0 9528 0

steve at halorentz:~$ cat /proc/22189/status
Name:   Thunar
State:  D (disk sleep)
SleepAVG:       98%
Tgid:   22189
Pid:    22189
PPid:   1
TracerPid:      0
Uid:    3302    3302    3302    3302
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: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000001000
SigCgt: 0000000180000800
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
Cpus_allowed:   03
Mems_allowed:   1

steve at halorentz:~$ cat /proc/22189/wchan
rwsem_down_failed_common

steve at halorentz:~$ 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 Kernel
Bugs, which is a direct subscriber.




More information about the kernel-bugs mailing list