V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
013231
V2EX  ›  macOS

系统中存在大量 FIN_WAIT_1 状态的连接, 而且 lsof 看不到它们.

  •  
  •   013231 · Jun 25, 2014 · 4739 views
    This topic created in 4324 days ago, the information mentioned may be changed or developed.
    > $ netstat -n -f inet -p tcp | awk '{print $NF}' | sort | uniq -c
    5 CLOSING
    63 ESTABLISHED
    4075 FIN_WAIT_1
    97 FIN_WAIT_2
    794 LAST_ACK
    6 SYN_SENT
    1 connections

    于是有越来越多的端口无法使用了. 用lsof也看不到那些FIN_WAIT_1状态的连接. 这个奇怪的问题是如何产生的?
    2 replies    2014-06-26 11:44:25 +08:00
    Livid
        1
    Livid  
    MOD
    PRO
       Jun 26, 2014 via iPhone   ❤️ 1
    A bug of OS X 10.9
    013231
        2
    013231  
    OP
       Jun 26, 2014
    @Livid OS X 10.10 修复了这个bug吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   966 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 20:26 · PVG 04:26 · LAX 13:26 · JFK 16:26
    ♥ Do have faith in what you're doing.