[Samba] Re: [fwd: [Fwd: Re: network response] ]

Jeremy Allison jra at samba.org
Tue Jun 29 21:47:34 GMT 2004


On Tue, Jun 29, 2004 at 03:43:48PM -0500, Chris Garrigues wrote:
> > From:  Jeremy Allison <jra at samba.org>
> > Date:  Mon, 28 Jun 2004 13:43:54 -0700
> >
> > Can you try with : "defer sharing violations = Yes" but
> > 
> > kernel oplocks = no
> > oplocks = yes
> > level2 oplocks = yes
> > 
> > Also. I'm starting to think it may be an interaction between
> > Linux kernel oplocks and deferred opens.
> 
> I just had a lockup with these values.  This one hung and then gave me the 
> error that the file couldn't be saved and was instead saved to a temporary 
> file.  I'm still running 3.0.5pre2-SVN-build-1287.  smbstatus is showing 
> two locks on the temporary file:
> 
> Locked files:
> Pid    DenyMode   Access      R/W        Oplock           Name
> --------------------------------------------------------------
> 24074  DENY_NONE  0x30089     RDONLY     NONE             /net/jupiter.trinsics.com/export/home/cwg/bbu projection.xls   Tue Jun 29 14:56:36 2004
> 24074  DENY_NONE  0x60080     RDONLY     NONE             /net/jupiter.trinsics.com/export/home/cwg/DAD28750   Tue Jun 29 14:56:36 2004
> 24074  DENY_ALL   0x7019f     RDWR       NONE             /net/jupiter.trinsics.com/export/home/cwg/DAD28750   Tue Jun 29 14:56:36 2004

The strange thing is the Oplock value of none here....

Are you sure you have kernel oplocks set to no ? Use testparm to
be sure and ensure you've restarted smbd or it won't take effect.

Jeremy.


More information about the samba mailing list