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
This commit is contained in:
commit-bot@chromium.org 2014-04-30 16:14:10 +00:00
Родитель f0eeb7d678
Коммит ea80046f79
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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. 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 Do the first time
----------------- -----------------