sending a large file with SCP to a certain server stalls at exactly 2112 kB

前端 未结 5 2121
半阙折子戏
半阙折子戏 2020-12-12 22:06

There is a certain ubuntu 10.04 server where if I ssh a file onto it from any server that is outside the office where this server is (meaning any of use scp-ing onto this se

5条回答
  •  盖世英雄少女心
    2020-12-12 22:41

    The only way I managed to get rid of this problem was by disabling TCP SACK:

    $ sudo sysctl -w net.ipv4.tcp_sack=0
    

提交回复
热议问题