officedrop/jedis_failover — pull request #3 by JackyWoo (2013-09-12 08:56:16+00:00)
Title: Pool bug

When you want to close the TCP connection to redis, you should close both the client and redis but not just the redis.
Let us look at the quit method in Client. The client only tells redis to close, but itself does nothing which will lead to too many 'close_wait' TCP connections. In my system the size is about 2000-10000.