I have a website built using CI, in which I use redis to store session data.
However, when the server frequently queries the session, there will be a lot of "TIME_WAIT" TCP connections. Then redis can not be connected. (Seems that the server is down.)
It seems that use socket instead of TCP could solve the problem. But I found that CI plans to support socket in version 3.1.0, which hasn't been released.
Besides switching to socket, are there any solution to this problem?