Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The config:

Clients: Windows 7 64-bit, Server: Samba 3.0.37


One samba share is mapped to Windows computers as a network drive. From time to time it takes too long to open the mapped drive (15-20 seconds), in Windows explorer as well as in the console. I believe Windows loses a connection to the network share and tries to restore it from scratch.

So the question is - how to keep the connection alive or to speed up the connection process?

share|improve this question
up vote 1 down vote accepted

Low-tech approach - ping it or run a directory listing across it on a reoccurring interval (via a scheduled task from the target system).

share|improve this answer
That's of course a solution but maybe there is a more correct way to solve the problem? :) – disserman Oct 3 '10 at 0:05
You might be able to tune the time-outs on either end - connection idle on Samba or maybe response time-out on the Windows side. – user48838 Oct 3 '10 at 2:36
Yes but where exactly? – disserman Oct 3 '10 at 11:33
You might start by looking at the "deadtime" setting. – user48838 Oct 3 '10 at 14:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.