processone/mysql — pull request #2 by ericliang (2014-12-07 06:25:41+00:00)
Title: enable tcp keepalive to capture zombie connections

The load balancer service of our cloud service provider has a bug on connection maintenance, which will not send connection reset signal to client when the connection between LB and backend server was corrupted. Client not aware of this situation will keep sending the requests to LB but only found that the data was cached in tcp send queue.

This parameter might be not necessary for other reliable services, it has no side effect IMO and still be a considerable defensive action.