AWS 雑多なメモ: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
*ec2 から s3 へコピーって早いね
<syntaxhighlight lang="text" enclose="div">
aws s3 sync . s3://xxxyyy/zzz/ddd --exact-timestamps --delete --acl public-read
</syntaxhighlight>
*謎なメモ
munin, munin-node, logstash-forwarder(conf,crt,key), kibana-int, monit, zimbra-network
*時刻が意外とズレる
*時刻が意外とズレる
<pre>
<pre>
Line 5: Line 15:
echo tsc > /sys/devices/system/clocksource/clocksource0/current_clocksource
echo tsc > /sys/devices/system/clocksource/clocksource0/current_clocksource
</pre>
</pre>
:私は ntpd は使わず cron で ntpdate して様子見中...結局 ntpd 上げた。


  kernel option clocksource=tsc highres=off nohz=off
  関連ありそうな kernel option clocksource=tsc highres=off nohz=off divider=10 をいろいろ調査中 (とりあえず何も付けないに10点)
 
: clocksource=tsc を有効にするには、highres=off nohz=off が必要。
:私は ntpd は使わず cron で ntpdate して様子見中...結局 ntpd 上げた。
: nohz=off にすると、timer 割り込みが増えて、cpu load が上がる。




Line 130: Line 141:


*リモート運用のメモ2
*リモート運用のメモ2
  TCPKeepAlive
  TCPKeepAlive no
  ServerAliveInterval 15
  ServerAliveInterval 60
  ServerAliveCountMax 3
  ServerAliveCountMax 15


:[http://www.jp.freebsd.org/cgi/mroff.cgi?sect=5&cmd=&lc=1&subdir=man&dir=jpman-8.0.2%2Fman&subdir=man&man=ssh_config man ssh_config]
:[http://www.jp.freebsd.org/cgi/mroff.cgi?sect=5&cmd=&lc=1&subdir=man&dir=jpman-8.0.2%2Fman&subdir=man&man=ssh_config man ssh_config]

Navigation menu