[過去ログ] 2ch特化型サーバ・ロケーション構築作戦 Part19 (1001レス)
上下前次1-新
このスレッドは過去ログ倉庫に格納されています。
次スレ検索 歴削→次スレ 栞削→次スレ 過去ログメニュー
808(1): root▲ ★ 2006/02/08(水)00:08 ID:???0 BE AAS
・FD_SETSIZE=8192 対応カーネル
・FD_SETSIZE=8192 対応Apache2、bbsd
・Apache2 マルチスレッド復活
・bbsd マルチスレッド復活(-n 8)
@ live22
809: root▲ ★ 2006/02/08(水)00:10 ID:???0 BE AAS
>>808
kern/sys_generic.c パッチバージョン
810(1): 動け動けウゴウゴ2ちゃんねる 2006/02/08(水)02:14 ID:KOGgRA0f0(1) AAS
radwinさんの他のスライドもおもしろいよ
811(1): root▲ ★ 2006/02/08(水)02:18 ID:???0 BE AAS
>>810
外部リンク:public.yahoo.com
んーむ。面白そうなものばかりだ。
私も、がんがらなきゃ。
812: 動け動けウゴウゴ2ちゃんねる 2006/02/08(水)02:21 ID:mADkPLoG0(1) AAS
rootタンファイト!
813: 動け動けウゴウゴ2ちゃんねる 2006/02/08(水)02:26 ID:wjFUciii0(1) AAS
rootタン尊敬してます。ファイト!
814: root▲ ★ 2006/02/11(土)20:40 ID:???0 BE AAS
pid 55164 (httpd), uid 2001: exited on signal 10
pid 55160 (httpd), uid 2001: exited on signal 10
calcru: runtime went backwards from 871422 usec to 871357 usec for pid 55170 (httpd)
pid 55196 (httpd), uid 2001: exited on signal 10
pid 55218 (httpd), uid 2001: exited on signal 10
pid 55157 (httpd), uid 2001: exited on signal 10
pid 55182 (httpd), uid 2001: exited on signal 10
pid 55156 (httpd), uid 2001: exited on signal 10
pid 55184 (httpd), uid 2001: exited on signal 10
pid 55221 (httpd), uid 2001: exited on signal 10
省5
815: root▲ ★ 2006/02/11(土)20:42 ID:???0 BE AAS
Apacheかカーネルかライブラリか。
いずれにせよ、あとでいったんシングルスレッドに戻そう。< httpd
816: root▲ ★ 2006/02/11(土)20:45 ID:???0 BE AAS
やはり、マルチスレッド*も*、あやしい模様。
【実況】 live22x 鯖 Part9
2chスレ:operate
824 名前:動け動けウゴウゴ2ちゃんねる:2006/02/11(土) 20:42:41 ID:BYTRitRl0 ?
フジのスレが1008までいった
めちゃいけ part6
2chスレ:livecx
1005 名無しでいいとも! New! 2006/02/11(土) 20:40:07.79 ID:Go7yoz7N
昔紗理奈もやられてたな
1006 名無しでいいとも! sage New! 2006/02/11(土) 20:40:08.12 ID:sFKhtQWa
省6
817(1): root▲ ★ 2006/02/11(土)21:10 ID:???0 BE AAS
これ、vmwareの話だけど、
外部リンク[html]:unix.derkeiler.com
818(1): root▲ ★ 2006/02/11(土)21:11 ID:???0 BE AAS
%sysctl kern.timecounter.hardware
kern.timecounter.hardware: ACPI-fast
うーむ、やってみるか。
819(3): root▲ ★ 2006/02/11(土)21:16 ID:???0 BE AAS
# suspicious "calcru: runtime went backwards" wordaround
# see 外部リンク[html]:unix.derkeiler.com
kern.timecounter.hardware=TSC
を /etc/sysctl.conf に入れて、
sysctl kern.timecounter.hardware=TSC
を実行。@ live22
820: root▲ ★ 2006/02/11(土)21:29 ID:???0 BE AAS
>>819 を実施したので、再度様子見。
再発するようなら、MT 再度オフで。
821(1): root▲ ★ 2006/02/11(土)22:25 ID:???0 BE AAS
LA=15超えたら、Apacheをリスタートするしくみを入れてみた。
daily処理の時とリスタート後120秒以内は、発動しないようにしたつもり。
822: root▲ ★ 2006/02/11(土)23:06 ID:???0 BE AAS
# for increasing -DFD_SETSIZE=8192U
.if ${.CURDIR} != "/var/src/libexec/rlogind"
CFLAGS+=-DFD_SETSIZE=8192U
.endif
なんてやらないといかんかった。せめて#undefしてほしいかも。 < rlogind
rlogind.c に、こんなことが直書き。
#define FD_SETSIZE 16 /* don't need many bits for select */
823: root▲ ★ 2006/02/11(土)23:32 ID:???0 BE AAS
%grep ACPI- /var/run/dmesg.boot
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
%sysctl -a | grep hz
kern.clockrate: { hz = 1000, tick = 1000, profhz = 666, stathz = 133 }
というぐらいで、6.0RでHZが1000になったのが、
微妙に影響していたりするかも、かも。
# とりあえず変えないけど。
824: root▲ ★ 2006/02/11(土)23:45 ID:???0 BE AAS
で、
%sysctl -a | grep TSC
kern.timecounter.choice: TSC(-100) ACPI-fast(1000) i8254(0) dummy(-1000000)
kern.timecounter.hardware: TSC
ここが -100 (品質だめ = 選ばれない)になっていることに気づき、
/usr/src/sys/i386/i386/tsc.c を読むと、
#ifdef SMP
static int smp_tsc;
SYSCTL_INT(_kern_timecounter, OID_AUTO, smp_tsc, CTLFLAG_RDTUN, &smp_tsc, 0,
"Indicates whether the TSC is safe to use in SMP mode");
省3
825: root▲ ★ 2006/02/11(土)23:46 ID:???0 BE AAS
#ifdef SMP
/*
* We can not use the TSC in SMP mode unless the TSCs on all CPUs
* are somehow synchronized. Some hardware configurations do
* this, but we have no way of determining whether this is the
* case, so we do not use the TSC in multi-processor systems
* unless the user indicated (by setting kern.timecounter.smp_tsc
* to 1) that he believes that his TSCs are synchronized.
*/
if (mp_ncpus > 1 && !smp_tsc)
省6
826(1): root▲ ★ 2006/02/11(土)23:47 ID:???0 BE AAS
%sysctl -a | grep smp_tsc
kern.timecounter.smp_tsc: 0
のように、デフォルトではオフになっていて、
%sysctl kern.timecounter.smp_tsc=1
sysctl: oid 'kern.timecounter.smp_tsc' is a read only tunable
sysctl: Tunable values are set in /boot/loader.conf
ということなので、sysctl.conf で指定する必要があると。
827: root▲ ★ 2006/02/11(土)23:48 ID:???0 BE AAS
>>826
× ということなので、sysctl.conf で指定する必要があると。
○ ということなので、/boot/loader.conf で指定する必要があると。
上下前次1-新書関写板覧索設栞歴
あと 174 レスあります
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル
ぬこの手 ぬこTOP 0.009s