I'm using redis to, using the
connect function in code, and the connection is manually closed every request. But the recent iammutex 's a answer remind me about the number of connections in the system, so I see the following when I've a little traffic at night
netstat -na | grep 6379 | grep TIME_WAIT | wc -l 446
There are 446 time wait on the redis port. I don't know whether it's normal. If not, which parameters should be optimized?