Ubuntu 12.04 LTS (Precise Pangolin) AMI: Difference between revisions

From misc notes
Jump to navigation Jump to search
Line 61: Line 61:
(効果測定中)
(効果測定中)


=== aoache blackbox ===
=== apache blackbox ===
  [http://www.devco.net/archives/2008/03/05/detailed_apache_stats.php Detailed Apache Stats | R.I.Pienaar]
  [http://www.devco.net/archives/2008/03/05/detailed_apache_stats.php Detailed Apache Stats | R.I.Pienaar]
  [https://github.com/ripienaar/apache-blackbox Apache Flight Recorder]
  [https://github.com/ripienaar/apache-blackbox Apache Flight Recorder]

Revision as of 14:10, 8 February 2013

jrclogo.gif


雑多なメモ

ようやく、すべてのインスタンスを 12.04 LTS (Precise Pangolin) に Upgrade したので、いろいろメモ

設定系

設定を cookbook にまとめ中

nxhack / chef My recipes (opscode chef cookbooks) : Bootstrap - Configuration - Orchestration

諸注意

あり得ないような segfault が起こる

*** glibc detected *** XXXX : malloc(): smallbin double linked list corrupted: 0x0000000000000000 ***

メモリーハンドリングが怪しい...

kernel.randomize_va_space

これ(ASLR)がなにかしてるのか?...

関連して、漢ならこんなの入らん!

aptitude purge whoopsie
aptitude purge apport apport-symptoms python-apport

lm-sensors が動かない

linux-image-virtual で起動するようになったら、必要な i2c の kernel module が無い。

aptitude install linux-image-extra-virtual

で解決。しかし....

複数 cpu の環境でも 1つしか cpu 温度がとれない。(いろいろ探索中)

Rescheduling interrupts 多すぎ

まだ調査中...ってこんなものなの?

そういえば irqbalance が smp 環境でも常駐しないよね。ONESHOT="0" だけど one shot になっている。

いろいろ漁ってみたら、最近は irqbalance は不要っぽい。要調査...

mod_rpaf が動かない

ubuntu として、改修するつもりはないらしい。なので github から

ttkzw/mod_rpaf-0.6
git clone git://github.com/ttkzw/mod_rpaf-0.6.git
cd mod_rpaf-0.6
make
make install

戦略・戦術

やっぱここがまとまっているよね

Red Hat Enterprise Linux-6 Performance Tuning Guide

メモ

munin-node: perl 5.14 deprecation warnings
munin-node: iostat_ios broken on i386

Multi CPU の irq

cat /proc/interrupts 

ターゲットロックオンで

echo ? > /proc/irq/??/smp_affinity
echo 3 > /proc/irq/`cat /proc/interrupts |fgrep eth0|awk '{print $1}'|sed s/://`/smp_affinity

(効果測定中)

apache blackbox

Detailed Apache Stats | R.I.Pienaar
Apache Flight Recorder
sudo aptitude install libfile-tail-perl
sudo aptitude install libproc-daemon-perl

munin plugin

apache http status code monitoring