013231
V2EX  ›  macOS

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

  •  
  •   013231 · Jun 25, 2014 · 4837 views
    This topic created in 4363 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   ·   2925 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 13:37 · PVG 21:37 · LAX 06:37 · JFK 09:37
    ♥ Do have faith in what you're doing.