[Samba] How to avoid CIFS timeout?

Wang, Zhiye Zhiye.Wang at Arcserve.com
Wed Dec 21 09:55:11 UTC 2016


Dear all,

My storage could be very slow for open/read/write sometimes (not always). To avoid CIFS timeout (Linux), I configure samba server "async smb echo handler = yes".

On server side, I can see two smbd processes are generated for every CIFS client, and one of them is for echo server.

On client side, I confirm CIFS 1.0 is used (and "hard" option is also used).

But I can still observed the following logs on client side:

CIFS VFS: Server 10.57.33.134 has not responded in 120 seconds. Reconnecting...


My samba server version 4.2.10.

Can anyone suggest me how to avoid CIFS client timeout? (echo_interval is not good as most of existing Linux distributions today do not support it)


Thanks
Mike





More information about the samba mailing list