Translated message

A translation of this page exists in English.

netstat コマンドの出力結果に CLOSE_WAIT ソケットが多数表示される

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content