networking错误:软件导致连接中止(SSH)

首先我道歉我的英语。 我们的Azure Linux(Ubuntu 16.04.2 LTS)实例已经运行了2个多月。 突然星期二晚上没有任何configuration到服务器,我从我的自动PowerShell脚本随机获得“软件导致连接中止”。 脚本使用Winscp-client进行sftp连接。 我也在我的Putty客户端随机得到这个错误。 连接到此服务器是由多个服务器在不同的networking中。 我们尝试了以下几点:

  1. 从auth.log检查错误,没有什么特别的。 日志级别增加到Debug3
  2. 检查了iptables被禁用
  3. 修改后的sshd_config-file:-MaxStartups 200 -MaxSessions 200 -UseDNS no
  4. 用行修改/etc/sysctl.conf:

    -net.ipv4.ip_local_port_range = 1024 65535 -net.core.rmem_max = 16777216 -net.core.wmem_max = 16777216 -net.ipv4.tcp_max_syn_backlog = 4096 -net.ipv4.tcp_syncookies = 1 -net.core.somaxconn = 2048 – net.core.netdev_max_backlog = 2000 -kernel.pid_max = 1000000 -fs.file-max = 1000000 -net.ipv4.tcp_sack = 0 -net.ipv4.tcp_rmem = 4096 87380 16777216 -net.ipv4.tcp_wmem = 4096 65536 16777216 – net.ipv4.tcp_synack_retries = 2 -net.ipv4.tcp_syncookies = 1 -net.ipv4.tcp_mem = 50576 64768 98152 -net.core.wmem_default = 65536 -net.core.rmem_default = 65536 -net.ipv4.tcp_window_scaling = 1 – net.ipv4.tcp_mem = 98304 131072 196608 -net.ipv4.tcp_timestamps = 0 -net.ipv4.tcp_rfc1337 = 1 -net.ipv4.ip_forward = 0 -net.ipv4.tcp_congestion_control = cubic -net.ipv4.tcp_tw_recycle = 0 – net.ipv4.tcp_tw_reuse = 0 -net.ipv4.tcp_orphan_retries = 1 -net.ipv4.tcp_fin_timeout = 25 -net.ipv4.tcp_max_orphans = 8192

我该如何开始解决这个问题? 有人有这样的问题吗? 它可能是一些networking问题与ISP? 我查了服务器统计和CPU和内存负载低。 就像我说的这个星期二晚上开始。 服务器中没有任何更改。