Re: [Samba] Automaticaly unlock files
- Date: Thu, 14 Feb 2019 16:07:36 +0000
- From: Carlos Jesus via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] Automaticaly unlock files
Oh, and of course, it works perfectly. 240seconds+4x15 seconds = 5 minutes
(for future reference).
I changed it to 180+4x15...
Again, thanks and best regards.
Carlos Jesus <camjesus2@xxxxxxxxx> escreveu no dia quinta, 14/02/2019 à(s)
> Ah, a workaround!
> I'd seen something like this on an old thread but I've always tried to
> stay away from socket options.
> I'll give these a try.
> Thanks for your help
> P.S.: strange that I don't see more people "complaining" about this....
> Best regards,
> Volker Lendecke <Volker.Lendecke@xxxxxxxxx> escreveu no dia quinta,
> 14/02/2019 à(s) 05:38:
>> On Thu, Feb 14, 2019 at 12:37:20AM +0000, Carlos Jesus via samba wrote:
>> > Question: Is there a way to automaticaly, after a certain amount of
>> > unlock a file after, for example, a client crash or network problem?
>> socket options = TCP_NODELAY TCP_KEEPIDLE=240 TCP_KEEPCNT=4
>> which should remove the connection after 5 minutes. See "man 7 tcp"
>> for the meaning of those values.
>> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
>> phone: 0551-370000-0, mailto:kontakt@xxxxxxxxx
>> Gesch.F.: Dr. Johannes Loxen und Reinhild Jung
>> AG Göttingen: HR-B 2816 - http://www.sernet.de
To unsubscribe from this list go to the following URL and read the