How to avoid client timeout.(SMB2 ECHO Request)

Richard Sharpe realrichardsharpe at gmail.com
Thu Feb 6 23:41:28 MST 2014


On Thu, Feb 6, 2014 at 10:00 PM, sandeep nag <sandeepnagamalli at gmail.com> wrote:
> http://msdn.microsoft.com/en-us/library/cc246540.aspx
>
> There is write/truncate request from the client and processing in samba VFS
> plugin is taking longer time(which is expected as per our VFS plugin
> processing time).
> The client meanwhile sends many SMB ECHO requests
> (every 30 seconds (not sure)). However, they sit in the socket because the
> smbd
> is now stuck and will only process the ECHOs after the truncate. Because
> of this, I am seeing client time outs.
>
> If the ECHO could be responded promptly, then the client would not time.
> How can this be done, please guide me in implementing/coding/undertanding
> this.

Only you know the details of your back-end ... and I thought that it
did write-behind.

In any event, if your back end is taking more than sixty seconds for a
write that is a problem, isn't it.

Maybe you should ask Tarun.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list