Translated message

A translation of this page exists in English.

TIME WAIT ソケットの数を減らす

Solution Unverified - Updated -

Issue

  • TIME WAIT ソケットの数を減らすにはどうすれば良いですか?
  • サーバーに、多数の TIME-WAIT ソケットがあります。これを減らすにはどうしたら良いですか?
  • netstat コマンドまたは netstat -an コマンドを実行すると、以下のように、TIME_WAIT 状態の接続が何千も存在することが示されます。
tcp        0      0 ::ffff:10.0.0.1:53261  ::ffff:10.0.0.6:50000  TIME_WAIT
tcp        0      0 ::ffff:10.0.0.1:52216  ::ffff:10.0.0.6:50000  TIME_WAIT
tcp        0      0 ::ffff:10.0.0.1:51684  ::ffff:10.0.0.6:50000  TIME_WAIT
tcp        0      0 ::ffff:10.0.0.1:50044  ::ffff:10.0.0.6:50000  TIME_WAIT
.......
  • http、SQL、データベース、OSE、またはその他の TCP ロードテストを実行すると、TIME_WAIT が多くなります。

Environment

  • Red Hat Enterprise Linux
  • TCP 接続

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