Bug in samba 2.2 + kernel 2.4?

Jon Monroe jmonroe at imagebuilder.com
Thu Oct 17 23:56:02 GMT 2002

Hi Jerry,

I tried disabling kernel oplocks. I also tried disabling in different 

level2 oplocks
posix locking

All variations seem to produce similar results -- 2 extra directory locks 
for each directory for each visitation.

I'm going to try kernel 2.4.19 when I get the chance.

Thanks again!


At 05:54 PM 10/17/2002 -0500, Gerald (Jerry) Carter wrote:
>Hash: SHA1
>On Thu, 17 Oct 2002, Jon Monroe wrote:
> > I'm seeing tons of leftover directory handles for any directories
> > visited on a samba share (via a win2k/win9x workstation). For every
> > directory access inside a samba share, 3 handles are initially opened --
> > 2 read handles, and a single CWD handle. The CWD handle goes away, but
> > the read handles sit around forever, or until you kill the smbd process
> > that opened them. These add up pretty quick.
> >
> > What's really weird is I only see this on kernel 2.4 (2.4.18). If I go 
> back
> > to my old kernel 2.2 box, the problem doesn't seem to exist.
>No idea, but disablign kernel oplocks comes to mind.  This is all off the
>top of my head of course.
>cheers, jerry
>  ---------------------------------------------------------------------
>  Hewlett-Packard           ------------------------- http://www.hp.com
>  SAMBA Team                ---------------------- http://www.samba.org
>  GnuPG Key                 ---- http://www.plainjoe.org/gpg_public.asc
>  ISBN 0-672-32269-2        "SAMS Teach Yourself Samba in 24 Hours" 2ed
>  "I never saved anything for the swim back."     Ethan Hawk in Gattaca
>Version: GnuPG v1.0.6 (GNU/Linux)
>Comment: For info see http://quantumlab.net/pine_privacy_guard/

More information about the samba-technical mailing list