[Samba] Re: Network down - timeouts << URGENT >>
David Collier-Brown -- MTEC
David.Collier-Brown at Sun.COM
Tue Oct 15 13:50:00 GMT 2002
Typhoon wrote:
>
> We have a problem with our linux embedded-system and samba units.
> We mount remote windows shared drives, and transfer a lot of file to/from
> them.
> If Windows crash :) or unpluggin RJ, our program hang on read/write calls (
> and all other access to remote file ) for undefined time...
> WE NEED to set a SHORT timeout for connection lost !!!!!!
> The sockopt KEEP_ALIVE not help us! Is there some tuning to recognize
> netfail fairly?
Sorry, you asked the development list... but the
answer is
keepalive = 300
dead time = 10
see also
http://www.oreilly.com/catalog/samba/chapter/book/appc_01.html
--
David Collier-Brown, | Always do right. This will gratify
DMCO's MTEC team in Toronto | some people and astonish the rest.
Formerly Opcom, ACE and SIS. |
(905) 415-2849 or x52849 | davecb at canada.sun.com
More information about the samba
mailing list