From ea80046f79e8d7dc5f315fd75bdabf353c91ba5e Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Wed, 30 Apr 2014 16:14:10 +0000 Subject: [PATCH] Set TCP keepalive for MySQL connections. BUG=skia: R=mtklein@google.com Author: jcgregorio@google.com Review URL: https://codereview.chromium.org/268473002 git-svn-id: http://skia.googlecode.com/svn/trunk@14474 2bbb7eff-a529-9590-31e7-b0007b416f81 --- experimental/webtry/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/experimental/webtry/README.md b/experimental/webtry/README.md index d5bc6189b..d2835d3c6 100644 --- a/experimental/webtry/README.md +++ b/experimental/webtry/README.md @@ -62,6 +62,11 @@ then run the following so it applies: This means that monit will poll every two seconds that our application is up and running. +6. Set the TCP keepalive. For more info see: + https://developers.google.com/cloud-sql/docs/gce-access + + sudo bash -c 'echo 60 > /proc/sys/net/ipv4/tcp_keepalive_time' + Do the first time -----------------