Hi, > Hello all, THis is a bit off topic, but sure this is a good place to > ask this question.
Yeah. We have nothing better to do anyway, iptables is already perfect! > I'm sitting here getting frustrated on how to get my http > server tuned for a large connection load. > > I have a server performace problems after about 50 TIME_WAITs show up in > my connection table. > > My question is what's significant about 50? Probably nothing. You most likely have a general performance problem with the server you are using, and the 50 TIME_WAITs are just a coincidence. In general, if you have 'N' TIME_WAIT connections, given 60 seconds for the normal TIME_WAIT state, you have 60/N connections per second. This is about the only sensible thing counting TIME_WAITs can tell you. So don't waste your time with them: look at your application, and where it spends its time waiting / why it does not handle new connections. The best tool for this is understanding the application. The second best tool is strace. best regards Patrick