[Samba] How important are oplocks?

Joel Hammer Joel at HammersHome.com
Wed Dec 18 12:21:02 GMT 2002

oplocks are great when they work. So, they can be left on. But, some
times that can result in corrupted files back on the server if the client
machine and the server lose contact with each other. Experiment and see.
oplocks can be enabled on a per share basis, I believe. A lot may depend on
the quality of your network. 


> Hello,
> I'm wondering just how critical it really is to turn off oplocks.  It appears
> that not only Windows 2k server, but also Netware 5 and above defaults to
> having these enabled.  
> I just spoke with two software companies running databases off of file servers
> (no database server, just MDAC stuff), and they had never heard of it, much
> less require it to be disabled.  Everything I've read online says to turn them
> off, but I'm getting a serious performance hit with these turned off, compared
> to the Netware server that Samba just replaced.
> Comments???
> Bob
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list