netstat コマンドの出力結果に CLOSE_WAIT ソケットが多数表示される
Issue
netstatコマンド実行時に、CLOSE_WAIT状態のソケットが多数表示されます。- これらのソケットは、TCP 接続のデフォルトのタイムアウトである 2 時間よりも長い時間を `net.ipv4.tcp_keepalive_time' に定義した後も、同じ状態で表示されます。
# netstat -a | grep local
*.local *.* 0 0 0 0 LISTEN
hostname.local hostname.774 5840 0 10124 0 CLOSE_WAIT
hostname.local hostname.638 5840 0 10124 0 CLOSE_WAIT
hostname.local hostname.818 5840 0 10124 0 CLOSE_WAIT
hostname.local hostname.782 5840 0 10124 0 CLOSE_WAIT
Environment
- Red Hat Enterprise Linux
- TCP/IP ネットワーク
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.