動画配信プラットフォーム Adobe Media Server

Adobe Coldfusion Adobe Media Server 製品に関するご質問・ご購入
HOMEコラム > Adobe Media Serverでのハング/クラッシュの問題のトラブルシューティング

Adobe Media Serverでのハング/クラッシュの問題のトラブルシューティング4/5

FastCoreShutdownの設定

FastCoreShutdownを有効にするには、テキストエディターでServer.xmlファイルを開きます。Server.xmlファイルは、root_install/confフォルダー内にあります。<Master>タグに移動し、以下の設定タグを追加してから、サーバーを再起動します。追加が必要なセクションは、図3で強調表示されている部分です。


<Master> <!-- Enable fast shutdown of core. --> <FastCoreShutdown>true</FastCoreShutdown> <!-- How often to gc idle cores. --> <CoreGC>300</CoreGC> <!-- An idle core being gc'd is given at least this much to exit on its own. --> <CoreExitDelay>20</CoreExitDelay> </Master>



図3:FastCoreShutdownを有効にするための設定

 

診断スクリプトを起動するための設定

診断スクリプトを起動する場合は、まず、前に説明した方法でFastCoreShutdownを有効にします。診断プロセスに適切なパスと引数を指定するには、テキストエディターでServer.xmlファイルを開きます。Server.xmlファイルは、root_install/confフォルダー内にあります。<Master>タグに移動し、以下の設定タグを追加してから、サーバーを再起動します。追加が必要なセクションは、図4で強調表示されている部分です。

 


<Master> <!-- Enable fast shutdown of core. --> <FastCoreShutdown>true</FastCoreShutdown> <!-- If a core hangs while shutdown and fast shutdown of core is enabled then you can run a diagnostic process to take statitics of shutting down core. Path is the absolute path to the executable: /usr/bin/perl Or c:\WINDOWS\system32\cmd.exe on Windows Args: Arguments to the process like the script to be executed: /tmp/diagnostic.sh -d Or /c E:\ams\Utils\shell\diagnostic.bat arg1 WaitTime: Time in seconds to wait for the diagnostic process to run before core is shutdown --> <DiagnosticProcess> <Path>c:\WINDOWS\system32\cmd.exe</Path> <Args>/c C:\ams\Utils\shell\diagnostic.bat arg1 </Args> <WaitTime>30</WaitTime> </DiagnosticProcess> <!-- How often to gc idle cores. --> <CoreGC>300</CoreGC> <!-- An idle core being gc'd is given at least this much to exit on its own. --> <CoreExitDelay>20</CoreExitDelay> </Master>



 

図4:AMSCoreのハング時に診断プロセスを起動するための設定