зеркало из https://github.com/mozilla/moz-skia.git
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:
Родитель
f0eeb7d678
Коммит
ea80046f79
|
@ -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
|
||||
-----------------
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче