[Samba] How does Samba handle unexpected disconnects?
Paul Griffith
paulg at cs.yorku.ca
Thu Oct 27 13:55:53 GMT 2005
I can reproduce this error like clock work! The network capture should
be in your mailbox.
I can't tell if this is a network harware or software problem
Thanks
Paul
On Thu, Oct 27, 2005 at 10:35:22AM +1000, Andrew Bartlett wrote:
> 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
Thanks
Paul
More information about the samba
mailing list