Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.