Re: scp and rsync stall when transferring from Ubuntu hardy heron 8.04
Originally Posted by
willca
I had similar transfer problems with my wifi. Try adding this at the end of your /etc/sysclt.conf and then reload it via sysclt -p
net.core.rmem_default = 524288
net.core.rmem_max = 524288
net.core.wmem_default = 524288
net.core.wmem_max = 524288
net.ipv4.tcp_wmem = 4096 87380 524288
net.ipv4.tcp_rmem = 4096 87380 524288
net.ipv4.tcp_mem = 524288 524288 524288
net.ipv4.tcp_rfc1337 = 1
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_ecn = 0
net.ipv4.route.flush = 1
Worked for me.. Thanks!
I have two computers on a home network and am constantly moving files between them. I upgraded one to Jaunty not so long ago, and have been having problems with scp transfers ever since. I also noticed that ssh sessions from one to the other would periodically freeze.
It's a little early to be certain, but I just added those lines to the end of sysctl on both systems and now everything seems to be going OK.
Thanks again!
I switched to Windows because of all the disappointment Linux brought me.
Bookmarks