Greetings, I have been looking for infomation on how Samba handle rude disconnects. Here is the test.... #1 - Login to Samba hosted Domain #2 - Turn off the computer; Turn the computer back on #3 - goto to step #1 and repeat Now at some point my login should fail...right? If I try the above steps, after the 5-6th power off I get 'XXXX' Domain not found! Questions.... Does Samba kill the connection after the dead time has been reached assuming deadtime has been set? Does the OS timeout the TCP connnection and kill the connection ? Do these zombie connections limit or effect new connections? Thanks Paul
Andrew Bartlett
2005-Oct-27 00:35 UTC
[Samba] How does Samba handle unexpected disconnects?
On Wed, 2005-10-26 at 09:39 -0400, Paul Griffith wrote:> Greetings, > > I have been looking for infomation on how Samba handle rude > disconnects. Here is the test.... > > #1 - Login to Samba hosted Domain > #2 - Turn off the computer; Turn the computer back on > #3 - goto to step #1 and repeat > > Now at some point my login should fail...right?It shouldn't.> If I try the above steps, after the 5-6th power off I get 'XXXX' > Domain not found!That's odd. Do you have a network trace?> Questions.... > > Does Samba kill the connection after the dead time has been reached > assuming deadtime has been set?Yes, but if you have rebooted the client then the OS may get to it first.> Does the OS timeout the TCP connnection and kill the connection ? > > Do these zombie connections limit or effect new connections?The only effect these connections have is that they may still hold locks, and we have been chasing some behaviour issues where a client that is still live reconnects, but the old connection has the locks. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Samba Developer, SuSE Labs, Novell Inc. http://suse.de Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20051027/d866eae6/attachment.bin