Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
artandlol
V2EX  ›  Linux

Linux 下网络问题,关于 SYN_SENT 超时时间

  •  
  •   artandlol · Mar 15, 2017 · 2680 views
    This topic created in 3347 days ago, the information mentioned may be changed or developed.

    目前超时时间是 2s 。 请问可否设定 SYN_SENT 超时时间 ,需要怎么做

    [root@work ~]# lsof |grep public1.114dns.com
    bash      3877      root    3u     IPv4      38156        0t0        TCP 192.168.1.6:52380->public1.114dns.com:33369 (SYN_SENT)
    
    [root@work ~]# sysctl -a|grep syn_sent
    net.netfilter.nf_conntrack_tcp_timeout_syn_sent = 0
    
    4 replies    2017-03-15 21:40:55 +08:00
    billlee
        1
    billlee  
       Mar 15, 2017
    net.ipv4.tcp_syn_retries
    artandlol
        2
    artandlol  
    OP
       Mar 15, 2017 via Android
    @billlee 有改了 1s
    但测试还是 2s
    billlee
        3
    billlee  
       Mar 15, 2017
    r#2 @artandlol 这个单位不是秒。。
    artandlol
        4
    artandlol  
    OP
       Mar 15, 2017 via Android
    @billlee 百分之一秒吗? 这个 Google 过了,没效果
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1412 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 23:59 · PVG 07:59 · LAX 16:59 · JFK 19:59
    ♥ Do have faith in what you're doing.