[linux-cifs-client] CIFS VFS: server not responding

Shirish Pargaonkar shirishpargaonkar at gmail.com
Wed Sep 24 10:35:03 GMT 2008


I think the problem is deeper than that.  I am trying to work on this.
 I have some luck
with changing socket from non-blocking to blocking during sends
(kernel_sendmsg) but
have to iron out similar issues on receive side (kernel_recvmsg).

Basically messages get mixed up when cifs starts encountering EAGAINs so some
messages loose smb headers as part of other messages as a a result SMB server
does not see the request at all and does not respond and so cifs client thinks
server is not responding and logs the error.

On Tue, Sep 23, 2008 at 8:13 PM, Mars TSE Yiu Kei
<mars_tse at hk.dbsvickers.com> wrote:
> I'm not using Samba 4. I only install samba-client-3.0.25b-0.4E.6.
>
> Here is output of /proc/fs/cifs/DebugData
>
> Display Internal CIFS Data Structures for Debugging
> ---------------------------------------------------
> CIFS Version 1.48a.RH
> Active VFS Requests: 0
> Servers:
> 1) Name: 150.110.27.228  Domain: WORKGROUP Mounts: 1 OS: Windows 5.0
>         NOS: Windows 2000 LAN Manager   Capability: 0xf3fd
>         SMB session status: 1   TCP status: 1
>         Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
> MIDs:
>
> Shares:
> 1) \\150.110.27.228\ITSmonitor Uses: 1 Type: NTFS DevInfo: 0x20 Attributes:
> 0x70
> 0ff
> PathComponentMax: 255 Status: 1 type: DISK
>
> Regards,
> Mars
>
> ________________________________
> From: Sam Liddicott [mailto:sam at liddicott.com]
> Sent: Wednesday, September 24, 2008 00:00
> To: Mars TSE Yiu Kei; linux-cifs-client at lists.samba.org
> Subject: RE: [linux-cifs-client] CIFS VFS: server not responding
>
> I reject your confidentiality note.
>
> Are you talking about Samba 4?
>
> The timeout is a property of the transport, and you could set this from the
> vfs connect function, if it isn't already initialized from a config file.
>
> Sorry I can't be more specfic but I have no source available right now.
>
> Sam
>
> ________________________________
> From: Mars TSE Yiu Kei <mars_tse at hk.dbsvickers.com>
> Sent: 23 September 2008 10:41
> To: linux-cifs-client at lists.samba.org
> Subject: [linux-cifs-client] CIFS VFS: server not responding
>
> Hello,
>
> I have a Linux server mounting to a share from Windows server.
>
> Below is the /etc/fstab entry of the Linux server:
> //150.110.27.228/ITSmonitor     /BT     cifs
> ro,credentials=/etc/samba/security/BT.login     0 0
>
> The problem is when the Windows server is busy, there is error relating CIFS
> on /var/log/messages like:
> Sep 13 00:30:25 server60 kernel:  CIFS VFS: server not responding
> Sep 13 00:30:25 server60 kernel:  CIFS VFS: No response for cmd 50 mid 58515
> Sep 13 00:30:25 server60 kernel:  CIFS VFS: No response to cmd 46 mid 58516
> Sep 13 00:30:25 server60 kernel:  CIFS VFS: Send error in read = -11
> Sep 13 00:31:25 server60 kernel:  CIFS VFS: server not responding
> Sep 13 00:31:25 server60 kernel:  CIFS VFS: No response to cmd 46 mid 58560
> Sep 13 00:31:25 server60 kernel:  CIFS VFS: Send error in read = -11
> Sep 13 00:32:10 server60 kernel:  CIFS VFS: server not responding
> Sep 13 00:32:10 server60 kernel:  CIFS VFS: No response to cmd 46 mid 58566
> Sep 13 00:32:10 server60 kernel:  CIFS VFS: Send error in read = -11
>
> I am trying to change the timeout value of CIFS but cannot find a way to do
> it. Or you have a better idea of this problem, please share with me. Thanks.
>
> Regards,
> Mars
> ---------------------
> CONFIDENTIAL NOTE:
> This message, together with any attachment, is intended only for the use of
> the individual or entity to which it
> is addressed, and may contain information that is legally privileged and
> confidential. If you are not the
> intended recipient, please be informed that any dissemination, distribution
> or copying of this message, or any
> attachment is strictly prohibited. Kindly note that internet communications
> are not secure, and therefore are
> susceptible to alteration. DBS Vickers Securities and its affiliates will
> not accept legal responsibility for
> the contents of this message. If you have received this message in error,
> please advise the sender by reply
> e-mail, and delete the message. Thank you for your cooperation.
>
> ---------------------
> CONFIDENTIAL NOTE:
> This message, together with any attachment, is intended only for the use of
> the individual or entity to which it
> is addressed, and may contain information that is legally privileged and
> confidential. If you are not the
> intended recipient, please be informed that any dissemination, distribution
> or copying of this message, or any
> attachment is strictly prohibited. Kindly note that internet communications
> are not secure, and therefore are
> susceptible to alteration. DBS Vickers Securities and its affiliates will
> not accept legal responsibility for
> the contents of this message. If you have received this message in error,
> please advise the sender by reply
> e-mail, and delete the message. Thank you for your cooperation.
>
> _______________________________________________
> linux-cifs-client mailing list
> linux-cifs-client at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux-cifs-client
>
>


More information about the linux-cifs-client mailing list