Re: [CentOS] SFTP - stalled - on large files

2009-12-27 Thread Sean Carolan
# Turn off SACK net.ipv4.tcp_sack = 0 and execute sysctl -p to apply it.  You can also use sysctl -w net.ipv4.tcp_sack=0 to turn it off temporarily.  Our file transfers worked just fine after the change. I realize there are differences our situation and yours and this might not work in

Re: [CentOS] SFTP - stalled - on large files

2009-12-22 Thread Sean Carolan
I'm not sure what would cause that, but I'd use rsync over ssh instead of sftp anyway - and use the -P option to permit restarting. If it were up to me, we'd take that route. The software the client is using is WinSCP which does have a restart feature, however it's not working for us. I'm

Re: [CentOS] SFTP - stalled - on large files

2009-12-22 Thread Kai Schaetzl
Sean Carolan wrote on Tue, 22 Dec 2009 03:08:53 -0600: The software the client is using is WinSCP which does have a restart feature, however it's not working for us. Tell him to switch WinSCP to SCP mode. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services:

Re: [CentOS] SFTP - stalled - on large files

2009-12-22 Thread Sean Carolan
Tell him to switch WinSCP to SCP mode. Kai Tried that, it still fails the same way. Here's the short list of what I've tried to troubleshoot this: Used SCP via the gui and command line Used SFTP via the gui and command line Ran yum update to bring all packages up to date Tried stock CentOS

Re: [CentOS] SFTP - stalled - on large files

2009-12-22 Thread JS
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Sean Carolan Sent: Tuesday, December 22, 2009 6:13 AM To: CentOS mailing list Subject: Re: [CentOS] SFTP - stalled - on large files Tell him to switch WinSCP to SCP mode. Kai

Re: [CentOS] SFTP - stalled - on large files

2009-12-22 Thread Sean Carolan
Just an idea or thought on it.  You never said what the file size was or did you?  My idea is that is, there not a file size limitation on transfer to and from the server?  I thought there was?  Check you vsftpd.conf out or what ever ftp server your running for the size limitation.  Maybe some

Re: [CentOS] SFTP - stalled - on large files

2009-12-22 Thread Sean Carolan
Load balancer... is that set up to maintain connections, or will it, like IBM's WebSeal, go to whichever server is next/least used in the middle of a connection? It's set to use least connection but there is only one server behind the virtual IP at the moment. I'm reasonably sure at this

Re: [CentOS] SFTP - stalled - on large files

2009-12-22 Thread Jay Leafey
We had a similar problem copying files between servers on two of our campuses via SCP. After a while the connection just stalled out and hung. The problem turned out to be SCP and SFTP interacting a bug in the SACK (Selective Acknowledgment) algorithm used in Linux. We turned it off on the

[CentOS] SFTP - stalled - on large files

2009-12-21 Thread Sean Carolan
I have an SSH server that was set up for a client, and every time we try to upload large files via SFTP or scp, the transfers speed quickly slows to zero and gives a - stalled - status message, then disconnects. Here is an example: ftp put iTunesSetup.exe iTunesSetup.exe Uploading

Re: [CentOS] SFTP - stalled - on large files

2009-12-21 Thread Sean Carolan
On Mon, Dec 21, 2009 at 7:06 PM, 唐建伟 myh...@gmail.com wrote: I met the same as you, but always due to the bad network connection. I should probably provide some more information, the server is a VMware guest running CentOS 5.3. It's using the vmxnet driver for the eth0 connection. IPv6 is

Re: [CentOS] SFTP - stalled - on large files

2009-12-21 Thread Les Mikesell
Sean Carolan wrote: On Mon, Dec 21, 2009 at 7:06 PM, 唐建伟 myh...@gmail.com mailto:myh...@gmail.com wrote: I met the same as you, but always due to the bad network connection. I should probably provide some more information, the server is a VMware guest running CentOS 5.3. It's