branches with status:
Name Status Last Modified Last Commit
lp:~ramon-van-alteren/python-jenkins/build-info 1 Development 2011-09-22 15:56:24 UTC This branch has not been pushed to yet.
lp:~ramon-van-alteren/mysql-proxy/funnel-private-backend (Has a merge proposal) 0 Experimental 2009-04-06 12:00:28 UTC
661. Added keepalive and keepalive options...

Author: ramon
Revision Date: 2009-04-06 12:00:28 UTC

Added keepalive and keepalive options to client sockets

We're facing a problem were at night when traffic is low the loadbalancer kills any open connections
due to timeout, however both client and server still think this connection is alive.
In the morning, all connections become more active fast, resulting in a mass of new client connections
while the old ones still have open sockets on the mysql-proxyed server.
This results in out-of-socket memory errors and a hungup server.

The code adds keepalive options to the client socket which results in sending a keepalive packet
every 2 minutes. This will ensure that the loadbalancer does not kill the connection

12 of 2 results