November 2007
6 posts
heart →
http://www.erlang.org/doc/man/heart.html の和訳 モジュール heart 概要 Erlang ランタイムのハートビート。 詳細 このモジュールは ハートプロセスへのインターフェイスを含みます。ハートは定期的に外部ポートプログラムにハートと呼ばれるハートビートを送ります。このハートポートプログラムの目的はErlangランタイムシステムが監視をし続けているかを確認することです。もしもポートプログラムが HEART_BEAT_TIMEOUT 秒以内(デフォルトで 60秒)にハートビートを受け取らなかった場合、システムは再起動します。 また、システムがハードウェアウォッチドッグタイマーを備え、Solaris で動作している場合、ウォッチドッグは全システムを監視することが出来ます。 Erlang...
Nov 9th
erl のオプション -run と -s の違い →
erl のオプション -run と -s の違いが解りにくい。 http://www.erlang.org/doc/man/erl.html にあるドキュメントを読むと -run Mod [Func [Arg1, Arg2, …]] (init flag) Makes init call the specified function. Func defaults to start. If no arguments are provided, the function is assumed to be of arity 0. Otherwise it is assumed to be of arity 1, taking the list [Arg1,Arg2,…] as argument. All arguments are passed as strings. See...
Nov 7th
Nov 6th
Problem with Apache 2.2.6(closed) →
昨日の問題を引き続き調査。 % diff /usr/local/httpd-2.0.61/include/apr.h /usr/local/httpd-2.2.6/include/apr.h (略) 278c273 —- > typedef off64_t apr_off_t; (略) 直接の原因はこれか。やっぱり off64_t が定義されてなかったのかorz fuse でもこの罠に引っかかってた様な気がする。 /usr/include/unistd.h には #if defined __USE_XOPEN || defined __USE_XOPEN2K (略) # if defined __USE_LARGEFILE64 && !defined __off64_t_defined typedef...
Nov 1st
October 2007
17 posts
Problem with Apache 2.2.6
apache 2.2.6 で autoconf 化した apache module のビルドが出来ない問題について。 再現方法 % apxs -g -n hello というように作成した apache module mod_hello を http://threebit.net/tutorials/apache2_modules/tut1/tutorial1.html の手順に従って autoconf 化する。 % ./configure –with-apache=/usr/local/httpd-2.2.6 % make /bin/sh ./libtool –tag=CC –mode=compile gcc -DPACKAGE_NAME=\”\” -DPACKAGE_TARNAME=\”\” -DPACKAGE_VERSION=\”\”...
Oct 31st