[Samba] Samba 2.2.6 leaks file descriptions!

Joakim Tjernlund Joakim.Tjernlund at lumentis.se
Sun Oct 27 17:49:01 GMT 2002


> > Been running with this change since friday and it looks good. I can not
> > find any leaking FDs anymore. The usage of the server has been very low
> > so I won't know for sure until Monday afternoon.
> > 
> > Does this mean it's a RH kernel bug?
> 
> It could either (a) be a bug in the linux kernel, necessarily specific to 
> RedHat, or (b) a bug in the way we use the kernel change notify mechanism 
> on linux.  Will take some more investigation to find out which.
> 

Found one more, this file(MTP_UP_PA12.doc) has been open for 6 hours:

       Jocke

[jocke at linfs bin]# ls -l /proc/14067/fd
total 0
dr-x------    2 root     root            0 Oct 27 18:45 ./
dr-xr-xr-x    3 root     root            0 Oct 27 18:45 ../
lrwx------    1 root     root           64 Oct 27 18:45 0 -> /dev/null
lrwx------    1 root     root           64 Oct 27 18:45 1 -> /dev/null
lr-x------    1 root     root           64 Oct 27 18:45 10 -> pipe:[43870797]
l-wx------    1 root     root           64 Oct 27 18:45 11 -> pipe:[43870797]
lrwx------    1 root     root           64 Oct 27 18:45 12 -> socket:[44055724]
lrwx------    1 root     root           64 Oct 27 18:45 13 -> /usr/local/samba2.2.3/var/cache/samba/l
ocking.tdb
lrwx------    1 root     root           64 Oct 27 18:45 14 -> /usr/local/samba2.2.3/var/cache/samba/p
rinting.tdb
lrwx------    1 root     root           64 Oct 27 18:45 15 -> /usr/local/samba2.2.3/var/cache/samba/n
tdrivers.tdb
lrwx------    1 root     root           64 Oct 27 18:45 16 -> /usr/local/samba2.2.3/var/cache/samba/n
tprinters.tdb
lrwx------    1 root     root           64 Oct 27 18:45 17 -> /usr/local/samba2.2.3/var/cache/samba/n
tforms.tdb
lrwx------    1 root     root           64 Oct 27 18:45 18 -> /usr/local/samba2.2.3/var/cache/samba/s
hare_info.tdb
lrwx------    1 root     root           64 Oct 27 18:45 19 -> /home/lumentis/Public/Temp/Janne/APD_tr
im.xls*
lrwx------    1 root     root           64 Oct 27 18:45 2 -> /dev/null
lr-x------    1 root     root           64 Oct 27 18:45 20 -> pipe:[44055726]
l-wx------    1 root     root           64 Oct 27 18:45 21 -> pipe:[44055726]
lrwx------    1 root     root           64 Oct 27 18:45 22 -> /usr/local/samba2.2.3/var/cache/samba/s
essionid.tdb
lrwx------    1 root     root           64 Oct 27 18:45 23 -> /home/lumentis/Public/SW/UPdocs/MTP_UP_
PA12.doc*
lr-x------    1 root     root           64 Oct 27 18:45 24 -> /home/lumentis/Public/SW/UPdocs/MTP_UP_
PA12.doc*
lr-x------    1 root     root           64 Oct 27 18:45 25 -> /home/lumentis/Public/SW/UPdocs/MTP_UP_
PA12.doc*
lr-x------    1 root     root           64 Oct 27 18:45 26 -> /home/lumentis/Public/SW/UPdocs/MTP_UP_
PA12.doc*
lr-x------    1 root     root           64 Oct 27 18:45 27 -> /home/lumentis/Public/SW/UPdocs/MTP_UP_
PA12.doc*
lr-x------    1 root     root           64 Oct 27 18:45 28 -> /home/lumentis/Public/SW/UPdocs/MTP_UP_
PA12.doc*
lr-x------    1 root     root           64 Oct 27 18:45 29 -> /home/lumentis/Public/SW/UPdocs/MTP_UP_
PA12.doc*
lr-x------    1 root     root           64 Oct 27 18:45 3 -> /dev/urandom
lr-x------    1 root     root           64 Oct 27 18:45 30 -> /home/lumentis/Public/SW/UPdocs/MTP_UP_
PA12.doc*
l-wx------    1 root     root           64 Oct 27 18:45 32 -> /usr/local/samba2.2.3/var/log/samba/log
.smbd
lrwx------    1 root     root           64 Oct 27 18:45 4 -> /usr/local/samba2.2.3/etc/samba/private/
secrets.tdb
lrwx------    1 root     root           64 Oct 27 18:45 5 -> socket:[44055725]
l-wx------    1 root     root           64 Oct 27 18:45 6 -> /usr/local/samba2.2.3/var/run/samba/smbd
.pid
lrwx------    1 root     root           64 Oct 27 18:45 7 -> /usr/local/samba2.2.3/var/cache/samba/me
ssages.tdb
lrwx------    1 root     root           64 Oct 27 18:45 8 -> /usr/local/samba2.2.3/var/cache/samba/co
nnections.tdb
lrwx------    1 root     root           64 Oct 27 18:45 9 -> /usr/local/samba2.2.3/var/cache/samba/br
lock.tdb




More information about the samba mailing list