[Samba] Office documents hold the lock for too long

Ralph Boehme slow at samba.org
Thu Aug 18 14:46:37 UTC 2022


On 8/18/22 15:56, Lukáš Krejza via samba wrote:
> we are using a samba share as a company network drive for storage of MS 
> Office documents. When a user saves document to this drive, it gets 
> following lock:
> 
> "4273         3014307    DENY_ALL   0x1f019f    RDWR LEASE(RWH) 
> /mnt/datastore/samba/department IT/Lukas-test/test.docx   Tue Aug 16 
> 12:57:39 2022"

this lock is tied to a lease which means the client is caching data and 
the filehandle including associated locks. Any other client trying to 
open document will trigger a lease break and the client holding the 
lease should then close the filehandle if the application has indeed 
closed the file.

Cheers!
-slow

-- 
Ralph Boehme, Samba Team                 https://samba.org/
SerNet Samba Team Lead      https://sernet.de/en/team-samba
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20220818/00ac1efa/OpenPGP_signature.sig>


More information about the samba mailing list