ビジネスサポートポータルアカウントでログイン
Red Hat Enterprise Linux 用 Agent での core ファイルの生成方法  

Red Hat Enterprise Linux 用 Agent での core ファイルの生成方法

    • 更新日:
    • 19 Jul 2019
    • 製品/バージョン:
    • Trend Micro Deep Security 10.0
    • Trend Micro Deep Security 11.0
    • Trend Micro Deep Security 12.0
    • Trend Micro Deep Security 9.5
    • Trend Micro Deep Security 9.6
    • Trend Micro Deep Security as a Service All.All
    • OS:
    • Linux すべて
概要
Trend Micro Deep Security および、Trend Micro Deep Security as a Service の Red Hat Enterprise Linux 用 Agent で、プロセスクラッシュの問題が発生する場合の core ファイルの取得方法を教えてください。
詳細
Public

Red Hat Enterprise Linux では、システムの初期設定でプロセスクラッシュ時に core ファイル(コアダンプ)を生成しない設定になっています。Agentプロセス(ds_agent)がクラッシュする問題を調査するために core ファイルを生成、取得するには、次の手順を行ってください。

1. core file size の hard limit を設定している場合は解除します。(OS の初期設定は unlimited です)。

# ulimit -H -c unlimited

2. DAEMON_COREFILE_LIMIT パラメータをセットして、Agent を再起動します。

# env DAEMON_COREFILE_LIMIT=unlimited /etc/init.d/ds_agent restart

3. プロセスクラッシュが発生時に、 /var/opt/ds_agent/core.<PID> を取得します。


[参考1]
システム起動時にも自動的に core ファイルを生成するように設定するには、/etc/init.d/ds_agent に次の行を追加してください。

DAEMON_COREFILE_LIMIT=unlimited

 
[参考2]
Red Hat Enterprise Linux 5 では、次のコマンドで現在実行中のプロセスでの core file size の limit 設定値を確認できます。

# fgrep core /proc/`pgrep ds_agent`/limits
Max core file size       unlimited            unlimited            bytes

core ファイルを生成する設定になっている場合は、上記のように「unlimited    unlmited」と表示されます。

Premium
Internal
Partner
評価:
カテゴリ:
動作トラブル
Solution Id:
1310022
ご提案/ご意見
このソリューションはお役に立ちましたか?

フィードバックありがとうございました!


*こちらに技術的なご質問などをいただきましてもご返答する事ができません.

何卒ご了承いただきますようお願いいたします.


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


ユーザーガイド