亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

java - tcp connection exception, please help analyze the reason
為情所困
為情所困 2017-05-19 10:08:02
0
2
928

netstat -antp|grep 8091
After the server has been running for a period of time, suddenly all tcp cannot connect normally. Check the information as follows

Help analyze the reason, thank you
The system uses Tencent Cloud's centos6.5 64-bit virtual machine, and a tomcat server is built on it. This abnormality will occur within two days of the average running period, and then the client Can't connect.
netstat -antp|grep 8091|wc -l
155
cat /proc/sys/net/ipv4/tcp_max_syn_backlog
512
can only restart tomcat, after restarting it is as follows

為情所困
為情所困

reply all(2)
劉奇

I didn’t see anything abnormal there

黃舟

The questioner did not clarify whether "tcp cannot connect normally" is the server or the client. Judging from the screenshot, it is using a machine to continuously connect to the server. You can check whether there is a large number of TIME_WAIT in the client part of netstat
If so , the client uses a tcp short connection. After close, if REUSE is not configured, the client machine will no longer be able to use the same port within 2msl.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template