WebSphere Application Server - Express, Version 6.0.x   
             オペレーティング・システム: AIX , HP-UX, Linux, Solaris, Windows

             目次と検索結果のパーソナライズ化

例: サーバー・ハング検出に影響するスレッド・モニターの調整

ハング検出ポリシーは、正常に処理されていないスレッドに対するアプリケーション・サーバーの応答に影響を与えます。

wsadmin スクリプト・インターフェースを使用して、スレッド・モニター設定を調整することができます。 この変更内容はただちに有効になりますが、 サーバー構成に保持されないので、サーバーを再始動すると失われます。 次のスクリプトは、wsadmin ツールを使用してスレッド・モニターのプロパティーを調整する方法の一例です。
# Read in the interval, threshold, false alarm from the command line
set interval [lindex $argv 0]
set threshold [lindex $argv 1]
set adjustment [lindex $argv 2]

# Get the object name of the server you want to change the values on
set server [$AdminControl completeObjectName "type=Server,*"]

# Read in the interval and print to the console
set i [$AdminControl getAttribute $server threadMonitorInterval]

# Read in the threshold and print to the console
set t [$AdminControl getAttribute $server threadMonitorThreshold]

# Read in the false alarm adjustment threshold and print to the console
set a [$AdminControl getAttribute $server threadMonitorAdjustmentThreshold]

# Set the new values using the command line parameters
$AdminControl setAttribute $server threadMonitorInterval  ${interval}

$AdminControl setAttribute $server threadMonitorThreshold ${threshold}

$AdminControl setAttribute $server threadMonitorAdjustmentThreshold ${adjustment}





関連概念
J2EE アプリケーションでのハング・スレッド
関連タスク
ハング検出ポリシーの構成
参照トピック    

ご利用条件 | フィードバック

最終更新: Jan 21, 2008 11:31:28 PM EST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rtrb_adjusthangdet.html