Too many TIME_WAIT state connections!
Solution 1
A good discussion about time-wait is given by How to forcibly close a socket in time-wait.
According to this reference, the number of time-wait connections should correspond to the traffic in the last 4 minutes. Do these numbers approximately match?
Solution 2
I've had this problem with connections in a close-wait state when the other end isn't hanging up properly. This may be because of a malicious reasons, or because there is a problem in your networking stack.
The fact that you appear to be having problems with iptables points to problems with your network stack too.
It is worth switching your connection to another network port if you have one to see if the same problem occurs on that. The problem could also be with an upstream firewall, router or bad guy.
There are also some reports of issues with the RedHat (+Centos?) settings of tcp_tw_recycle. You may want to look into that.
Related videos on Youtube
DannyFar94
Updated on September 17, 2022Comments
-
DannyFar94 over 1 year
I have a list box in a form and I want to print all the items from it. How can I make it please? I tried this code but it did not print.
e.Graphics.DrawString(lstServicesForPrinting.Text, fontRegular, Brushes.Black, 1350, 200);
-
LarsTech about 10 yearsYou have to enumerate through the items in the list.
-
DannyFar94 about 10 yearscan you give me an example how this can be done? please
-