[Samba] How to avoid CIFS timeout?

Xiaoli Feng xifeng at redhat.com
Fri Dec 23 06:02:30 UTC 2016


Hello Zhiye,

 On my opinion, you can improve the CIFS performance instead of avoiding CIFS 
timeout. Such as extend read/write size and change the cache type. I don't think
enable "async smb echo handler" is a good choice for your situation. This option
will depress performance.


----- Original Message -----
> From: "Zhiye via samba Wang" <samba at lists.samba.org>
> To: samba at lists.samba.org
> Sent: Wednesday, December 21, 2016 5:55:11 PM
> Subject: [Samba] How to avoid CIFS timeout?
> 
> 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
> 
> 
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list