linux使用scp时间为stalled,scp经常stalled解决
When transferring large files(for example mksysb images) usingscp through a firewall, the scp connection stalls.Cause:The reason for scp to stall, is because scp greedily grabs asmuch bandwith of the
When transferring large files(for example mksysb images) using
scp through a firewall, the scp connection stalls.
Cause:
The reason for scp to stall, is because scp greedily grabs as
much bandwith of the network as possible when it transfers files,
any delay caused by the network switch of the firewall can easily
make the TCP connection stalled.
Solution:
There’s a solution to this problem: Add “-l 8192″ to the scp
command.
Adding the option “-l 8192″ limits the scp session bandwith up
to 8192 Kbit/second, which seems to work safe and fast enough (up
to 1 MB/second):
更多推荐


所有评论(0)