[Samba] RE: File lock recovery
skurichiyath at vmware.com
Wed Nov 19 12:15:20 GMT 2008
Replying to my own post. I got it working by using SO_KEEPALIVE option in smb.conf and tuning keepalive proc variables. Please let me know if there is a cleaner way to get the same result.
> -----Original Message-----
> From: samba-bounces+skurichiyath=vmware.com at lists.samba.org
> [mailto:samba-bounces+skurichiyath=vmware.com at lists.samba.org]
> On Behalf Of Sudheer Kurichiyath
> Sent: Tuesday, November 18, 2008 2:39 PM
> To: 'samba at lists.samba.org'
> Subject: [Samba] File lock recovery
> I am having some issues with lock recovery.
> If a client gets powered off after acquiring an exclusive
> lock on a file, the Windows server grants the file lock to
> a second client within 2 minutes. However, the Samba server
> (version Samba 3.0.28-0.el5.8) that I am having does not look
> to be detecting the dead client and so, a second client is
> not getting the lock on the same file even if it waits for
> >30 minutes.
> Is it (no resource recovery) an expected behaviour? Is the
> resource recovery time is something that can be configured?
> Can the option "reset on zero vc" be useful in such a situation?
> Thank you in advance for your help
> Thanks and Regards
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba