scp出现stalled的原因和解决方法
2013-06-06 16:51
369 查看
When transferring large files(for example mksysb images) usingscp through a firewall, the scp connection stalls.
Adding the option “-l 8192″ limits the scp session bandwith upto 8192 Kbit/second, which seems to work safe and fast enough (upto 1 MB/second):
Cause:
The reason for scp to stall, is because scp greedily grabs asmuch bandwith of the network as possible when it transfers files,any delay caused by the network switch of the firewall can easilymake the TCP connection stalled.Solution:
There’s a solution to this problem: Add “-l 8192″ to the scpcommand.Adding the option “-l 8192″ limits the scp session bandwith upto 8192 Kbit/second, which seems to work safe and fast enough (upto 1 MB/second):
相关文章推荐
- 本机运行x程序出现:Can't open display 原因及其解决方法
- 出现 java.net.MalformedURLException: no protocol 异常的原因及解决方法
- phpcms v9出现Can not connect to MySQL server错误的原因和解决方法
- Win7系统升级Steam出现错误升级不了的故障原因及解决方法
- MySQL命令行界面中出现字符错误提示的原因及解决方法
- Java中使用com.sun相关jar包出现编译错误,但是运行没有错误的解决方法和原因
- tomcat5下jsp出现getOutputStream() has already been called for this response异常的原因和解决方法
- YAWL引擎运行失败出现关于log4j问题的原因和解决方法
- 戴尔dell optiplex 755安装xp出现蓝屏原因分析及解决方法
- 出现类不明确错误的原因及解决方法(aps.net)
- win7笔记本电脑出现蓝屏错误代码0x00000077常见原因及解决方法
- 关于Android Force Close 出现的原因 以及解决方法
- MySQL出现Waiting for table metadata lock的原因以及解决方法
- Java中long类型直接赋值出现The literal xxxxxxxxxx of type int is out of range 问题的原因和解决方法
- 出现“unrecognized selector sent to instance”问题原因之一及解决方法。
- 编译时,出现ln软连接错误原因及解决方法
- 出现 java.lang.UnsupportedClassVersionError 错误的原因及解决方法
- OrCAD导入PADS时出现“Not valid pin name for part type XX”错误的原因及解决方法
- 编译程序出现一个: 可访问性不一致; 产生的原因和解决方法
- win7系统开机出现OEM7GRUB 0.4.4提示无法进入系统的原因及两种解决方法