Home > OS > Too many Linux TCP connections ESTABLISHED state
Too many Linux TCP connections ESTABLISHED state
Time:09-17
TCP websocket equipment for around $400 after two days will reach this quantity, baidu out Linux TCP tuning are tried not do consult a great god what's the problem
CodePudding user response:
How no one see points too little
CodePudding user response:
ESTABLISHED according to the normal ESTABLISHED connection
400 client, up to 20 times the number of connections, there are two possible: 1, the client resource leaks, have created a successful connection object (or resources) lost for some reason, program is running to create a new connection, 2, between the client and the Server, it is a long connection, communication once in a while, and there may be three layers of equipment in the middle, the TCP session cleaning, cause Server side don't know the connection has been lost,
Generally recommend that on the business agreement to add some heartbeat (cleaning May 2), and the timeout mechanism clear (May 1)