Rowland Penny
2022-Apr-07 12:40 UTC
[Samba] [EXTERNAL]:Re: A disconnected network can, for all practical purposes, hang your system.
On Thu, 2022-04-07 at 14:29 +0200, Andrea Venturoli via samba wrote:> On 4/7/22 13:00, Rowland Penny via samba wrote: > > > What I was trying to get at was: This may not be a Samba problem, > > it > > may be a Windows problem. If you try this with two Linux clients > > and it > > works, then it is a problem with the Windows client, it isn't > > releasing > > its lock before disconnecting. > > IIUIC what Jaideep means is "disconnecting"=[crashing,losing > WiFi,LAN > cable axed, etc...].Possibly, but that wasn't how I understood it :-)> > In that case the client (be it Windows, Linux or whatever) can't > release > its locks. > So how does/should Samba react to such a situation?How does Windows deal with such a situation ? Rowland
Andrea Venturoli
2022-Apr-07 13:06 UTC
[Samba] [EXTERNAL]:Re: A disconnected network can, for all practical purposes, hang your system.
On 4/7/22 14:40, Rowland Penny via samba wrote:>> In that case the client (be it Windows, Linux or whatever) can't >> release >> its locks. >> So how does/should Samba react to such a situation? > > How does Windows deal with such a situation ?No idea: I just try to avoid Windows servers :)
Jaideep Shankar
2022-Apr-07 13:07 UTC
[Samba] [EXTERNAL]:Re: A disconnected network can, for all practical purposes, hang your system.
What I meant by 'client gets disconnected' is like losing WiFi, removing LAN wire, etc. In Windows, the server releases the locks after around 2 minutes. Regards, Jaideep -----Original Message----- From: samba <samba-bounces at lists.samba.org> On Behalf Of Rowland Penny via samba Sent: 07 April 2022 18:11 To: samba at lists.samba.org Cc: Rowland Penny <rpenny at samba.org> Subject: Re: [Samba] [EXTERNAL]:Re: A disconnected network can, for all practical purposes, hang your system. On Thu, 2022-04-07 at 14:29 +0200, Andrea Venturoli via samba wrote:> On 4/7/22 13:00, Rowland Penny via samba wrote: > > > What I was trying to get at was: This may not be a Samba problem, it > > may be a Windows problem. If you try this with two Linux clients and > > it works, then it is a problem with the Windows client, it isn't > > releasing its lock before disconnecting. > > IIUIC what Jaideep means is "disconnecting"=[crashing,losing WiFi,LAN > cable axed, etc...].Possibly, but that wasn't how I understood it :-)> > In that case the client (be it Windows, Linux or whatever) can't > release its locks. > So how does/should Samba react to such a situation?How does Windows deal with such a situation ? Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.samba.org%2Fmailman%2Foptions%2Fsamba&data=04%7C01%7Cjaideep.shankar%40tallysolutions.com%7Ca4407be6aec4435757e108da1893de46%7C66bcd9b727254893bb969ae424774af6%7C0%7C0%7C637849320749811037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Z2LZlM0reW9H0j8ug%2FIbi4%2FgiVvRpeLR9r26W6vGVmU%3D&reserved=0