How to reduce the number of TIME WAIT sockets?
Issue
- How do I reduce the number of
TIME WAITsockets? -
A large number of
TIME WAITsockets are existing on the servers. How can they be reduced?
-Thenetstatornetstat -ancommand shows many thousands of connections inTIME_WAITstate, such as below: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 ....... -
High
TIME WAITs while running http, SQL, database, OSE, or any other TCP load tests
Environment
- Red Hat Enterprise Linux
- TCP network connections
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
