Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Side by Side Diff: experimental/webtry/README.md

Issue 268473002: Set TCP keepalive for MySQL connections. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 WebTry 1 WebTry
2 ====== 2 ======
3 3
4 Allows trying out Skia code in the browser. Run a local webserver 4 Allows trying out Skia code in the browser. Run a local webserver
5 and from the pages it serves try out Skia code and see the results 5 and from the pages it serves try out Skia code and see the results
6 immediately. To make sandboxing easier this must be built w/GPU off. 6 immediately. To make sandboxing easier this must be built w/GPU off.
7 7
8 Running Locally 8 Running Locally
9 =============== 9 ===============
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 5. Change /etc/monit/monitrc to: 55 5. Change /etc/monit/monitrc to:
56 56
57 set daemon 2 57 set daemon 2
58 58
59 then run the following so it applies: 59 then run the following so it applies:
60 60
61 sudo /etc/init.d/monit restart 61 sudo /etc/init.d/monit restart
62 62
63 This means that monit will poll every two seconds that our application is up and running. 63 This means that monit will poll every two seconds that our application is up and running.
64 64
65 6. Set the TCP keepalive. For more info see:
66 https://developers.google.com/cloud-sql/docs/gce-access
67
68 sudo bash -c 'echo 60 > /proc/sys/net/ipv4/tcp_keepalive_time'
69
65 Do the first time 70 Do the first time
66 ----------------- 71 -----------------
67 72
68 Do the following the first time you setup a machine, and each time you want to u pdate the code running on the server 73 Do the following the first time you setup a machine, and each time you want to u pdate the code running on the server
69 74
70 cd ~/skia/experimental/webtry/setup 75 cd ~/skia/experimental/webtry/setup
71 ./webtry_setup.sh 76 ./webtry_setup.sh
72 77
73 78
74 Once, after setup 79 Once, after setup
75 ----------------- 80 -----------------
76 81
77 Do this step only once, but only after running webtry_setup.sh the first time 82 Do this step only once, but only after running webtry_setup.sh the first time
78 83
79 sudo debootstrap --variant=minbase wheezy /srv/chroot/webtry 84 sudo debootstrap --variant=minbase wheezy /srv/chroot/webtry
80 85
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698