lsof

Nitin Sharma nitin at subisu.net.np
Thu Aug 25 02:45:13 UTC 2005


When i list open files on one of my machine , i get around this sort of 
message..
I have 2.6.11-1.1369_FC4 kernel on Fedora Core 4. i have selinux and 
ipv6 disabled on this kernel module.

# lsof

init          1     root  cwd       DIR        3,1     4096          2 /
init          1     root  rtd       DIR        3,1     4096          2 /
init          1     root  txt       REG        3,1    34352    1173912 
/sbin/init
init          1     root  mem       REG        3,1   126648    4991352 
/lib/ld-2.3.5.so
init          1     root  mem       REG        3,1  1489572    4991353 
/lib/libc-2.3.5.so
init          1     root  mem       REG        3,1    81284    4989172 
/lib/libsepol.so.1
init          1     root  mem       REG        3,1    68864    4989087 
/lib/libselinux.so.1
init          1     root  mem       REG        0,0                   0 
[heap] (stat: No such file or directory)   <-----
init          1     root   10u     FIFO       0,13                1891 
/dev/initctl


multilog    606   qmaill  cwd       DIR        3,1     4096    2055625 
/var/log/qmail/qmail-send
multilog    606   qmaill  rtd       DIR        3,1     4096          2 /
multilog    606   qmaill  txt       REG        3,1    22464    2739611 
/package/admin/daemontools-0.76/command/multilog
multilog    606   qmaill  mem       REG        3,1   126648    4991352 
/lib/ld-2.3.5.so
multilog    606   qmaill  mem       REG        3,1  1489572    4991353 
/lib/libc-2.3.5.so
multilog    606   qmaill  mem       REG        0,0                   0 
[heap] (stat: No such file or directory)       *<-----*
multilog    606   qmaill    0r     FIFO        0,5                6085 pipe
multilog    606   qmaill    1w     FIFO        0,5                6082 pipe
multilog    606   qmaill    2w     FIFO        0,5                6082 pipe

klogd      1675     root  cwd       DIR        3,1     4096          2 /
klogd      1675     root  rtd       DIR        3,1     4096          2 /
klogd      1675     root  txt       REG        3,1    24316    1173965 
/sbin/klogd
klogd      1675     root  mem       REG        3,1   126648    4991352 
/lib/ld-2.3.5.so
klogd      1675     root  mem       REG        3,1  1489572    4991353 
/lib/libc-2.3.5.so
klogd      1675     root  mem       REG        0,0                   0 
[heap] (stat: No such file or directory)  <----
klogd      1675     root    0r      REG        0,3        0 4026531850 
/proc/kmsg


The FD ( file descriptor ) table is mem . so i was thinking if  that 
could be a memory issue. But i think i need to know some basic 
explanation of what might be the causes of this .. i doubt .. some 
libraries being unlinked such that the process is trying to find the 
same and is not being able to find it .

I would really appreciate to learn more about this .. and if anyone of 
you have faced similar problems before. .

Regards
Nitin




More information about the fedora-list mailing list