Can I have oplocks enabled without problems?

David Collier-Brown davecb at canada.sun.com
Tue May 8 16:14:33 GMT 2001


  Never turn on oplocks for databases: NT auto-recognizes and 
turns them off for you, Samba has to be told.

  If you do, the first person to open the database will get
an entire copy of it copied to their machine, to use locally.
As soon as the second person logs on, though, the first one will
be stopped (by an oplock break), will have to copy it
all back to the server, and only then will be able to work.

  This produces HORRIBLE delays for the first two users, who
will report the Samba server has bad performance.

--dave
-- 
David Collier-Brown,           | Always do right. This will gratify 
Performance & Engineering Team | some people and astonish the rest.
Americas Customer Engineering  |                      -- Mark Twain
(905) 415-2849                 | davecb at canada.sun.com




More information about the samba mailing list