Too Many TIME_WAIT Connections
(Doc ID 1968865.1)
Last updated on OCTOBER 13, 2022
Applies to:
MySQL Server - Version 5.1 and laterGeneric Linux
Some TCP packets may arrive long time after connection is closed. This may confuse further TCP communication when new connection is established on that socket.
OS works around this problem by keeping socket in special state TIME_WAIT for some time.
Symptoms
netstat shows dozens thousand MySQL connections in TIME_WAIT state.
It may result in lack of free sockets.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |