~ramon-van-alteren/mysql-proxy/funnel-private-backend

  • Committer: ramon
  • Date: 2009-04-06 12:00:28 UTC
  • Revision ID: ramonvanalteren@hurin.hyveshq-20090406120028-j6cwhl5y2zspm9u4
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
Filename Latest Rev Last Changed Committer Comment Size
..
cmake 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags Diff
examples 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags Diff
lib 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags Diff
m4 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags Diff
plugins 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags Diff
scripts 564 15 years ago Kay Roepke add the wrapper script/makefile fu to start mysql- Diff
src 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags Diff
tests 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags Diff
.bzrignore 330 16 years ago Kay Roepke added more ignores 102 bytes Diff Download File
AUTHORS 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags 33 bytes Diff Download File
File autogen.sh 565 15 years ago Kay Roepke make autogen.sh executable 2.8 KB Diff Download File
ChangeLog 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags 1 bytes Diff Download File
config.h.cmake 544 15 years ago Kay Roepke merge head 860 bytes Diff Download File
configure.in 643 15 years ago nick add funnel plugin 9.1 KB Diff Download File
COPYING 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags 18.6 KB Diff Download File
COPYING.lfs 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags 1.1 KB Diff Download File
Doxyfile 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags 52.8 KB Diff Download File
INSTALL 538 15 years ago Kay Roepke merge copyright changes 4.8 KB Diff Download File
Makefile.am 597 15 years ago Kay Roepke remove CMakeLists.txt from makefiles to repair mak 1 KB Diff Download File
mysql-proxy.spec.in 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags 1.3 KB Diff Download File
NEWS 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags 3.4 KB Diff Download File
README 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags 605 bytes Diff Download File
README.TESTS 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags 4.9 KB Diff Download File
THANKS 437 15 years ago Kay Roepke Moved stuff up a dir. Replaced old SVN-style tags 1 bytes Diff Download File
winbuild.bat 538 15 years ago Kay Roepke merge copyright changes 4.2 KB Diff Download File