[Samba] Samba 2.2.6 leaks file descriptions!
Joakim Tjernlund
Joakim.Tjernlund at lumentis.se
Fri Oct 25 18:27:00 GMT 2002
>
> On Fri, 25 Oct 2002, Joakim Tjernlund wrote:
>
> > Thanks for responding so promptly. This is getting worse. Upgraded Samba
> > some 16 hours ago and now I only have ~3000 FDs left out of 8192. A few
> > hours ago I had 5000 FDs left.
> >
> > Specifics
> > ---------
> > Kernel: RH 2.4.9-34
> > Client OS: all W2K, not sure what their service pack is, probably SP2.
> > glibc: 2.2.4
> > gcc: 2.96-98
>
> John Monroe has reported similar issues so I've included him on this
> thread as well. Can you both undefine HAVE_KERNEL_CHANGE_NOTIFY
> in config.h ? Just comment out the line that says
>
> #define HAVE_KERNEL_CHANGE_NOTIFY 1
>
> This will help to decide if it is a kernel bug or ours.
OK done. So far so good ..
This is a safe change, right?
I will check on Saturday and see what has happened.
BTW, I got these warnings. I think they are harmless:
passdb/secrets.c: In function `secrets_named_mutex':
passdb/secrets.c:287: warning: passing arg 2 of `tdb_lock_bystring' discards qualifiers from pointer target type
tdb/tdbutil.c: In function `tdb_chainlock_with_timeout':
tdb/tdbutil.c:46: warning: passing arg 1 of `tdb_set_lock_alarm' discards qualifiers from pointer target type
Jocke
More information about the samba
mailing list