Tomasz Chmielewski
2006-Nov-16 11:18 UTC
[Samba] Samba -> Linux copies fine, Samba -> Windows hangs all existing connections
I'm running Samba 3.0.23c on Debian-arm (unstable), kernel 2.6.18. I can copy files from the Samba server just fine, when I do it from a Linux machine. When I want to copy files from the Samba server to a Windows XP SP2 machine (connection made from Windows), it copies a couple of files, and then everything just freezes - Samba doesn't send any more packets, and I have to reconnect all connections. SSH connection is untouched, and this phenomenon concerns only files copied via Samba. Anyone else seen this? -- Tomasz Chmielewski htp://wpkg.org
Tomasz Chmielewski
2006-Nov-16 14:05 UTC
[Samba] Samba -> Linux copies fine, Samba -> Windows hangs all existing connections
Tomasz Chmielewski wrote:> I'm running Samba 3.0.23c on Debian-arm (unstable), kernel 2.6.18. > > I can copy files from the Samba server just fine, when I do it from a > Linux machine. > > When I want to copy files from the Samba server to a Windows XP SP2 > machine (connection made from Windows), it copies a couple of files, and > then everything just freezes - Samba doesn't send any more packets, and > I have to reconnect all connections. > > SSH connection is untouched, and this phenomenon concerns only files > copied via Samba. > > Anyone else seen this?I solved it by setting: socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=4096 SO_SNDBUF=4096 in smb.conf. I wonder if it's specific to ARM? When I usen 8192 instead of 4096, I had these mysterious hangs and disconnections. Linux cifs clients had this logged by the kernel when it happened: CIFS VFS: No response to cmd 46 mid 1887 CIFS VFS: Send error in read = -11 CIFS VFS: No response to cmd 46 mid 3313 CIFS VFS: Send error in read = -11 CIFS VFS: No response to cmd 46 mid 4125 CIFS VFS: Send error in read = -11 CIFS VFS: No response to cmd 46 mid 4361 CIFS VFS: Send error in read = -11 CIFS VFS: No response to cmd 46 mid 4752 CIFS VFS: Send error in read = -11 -- Tomasz Chmielewski http://wpkg.org
Denis
2006-Nov-16 17:51 UTC
[Samba] Samba -> Linux copies fine, Samba -> Windows hangs all existing connections
Tomasz Chmielewski wrote:> I'm running Samba 3.0.23c on Debian-arm (unstable), kernel 2.6.18. > > I can copy files from the Samba server just fine, when I do it from a > Linux machine. > > When I want to copy files from the Samba server to a Windows XP SP2 > machine (connection made from Windows), it copies a couple of files, > and then everything just freezes - Samba doesn't send any more > packets, and I have to reconnect all connections. > > SSH connection is untouched, and this phenomenon concerns only files > copied via Samba. > > Anyone else seen this? > >I have opposite situation, could get files from Windows but Linux fails, server runs FreeBSD. From other side I can get files using xsmbrowser but it still working very slow and I'm unable to download big file. Any ideas what could it be? -- Best regards, Denis S. http://forum.weblamp.net/ - Webmaster Key Forums