Troubleshooting
Problem
データベースへの接続時などに、インスタンスがハングすることがあります。 その際の復旧手順と、原因調査のために必要となる資料の取得方法について説明します。
Symptom
データベースへの接続や SQL の実行がハングすることがあります。
注: ここでは「ハング」として以下のような状態を扱います。
- Db2 の処理が全て無応答になっている。
- 既存の接続は使えるようだが、新規の接続を試みると反応がない。
- 特定の操作 (例えば、プロシージャーや UDF の呼び出し等) を行うとそのセッションは必ず無応答になる。
- db2stop や db2stop force も応答がない。
以下のような状態は、Db2 の「ハング」とは異なります。
- ロック待ちになっている。
- 通常時に比べ非常に遅いが、処理は少しずつ進んでいる。 (処理のスロー・ダウン)
- ls など OS のコマンドも受け付けなくなっている。 外部から telnet などもできず ping も返らない。 (OS のハングやネットワークの問題等)
[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m500000008PlkAAE","label":"DB2 Tools-\u003Edb2fodc"},{"code":"a8m500000008PlhAAE","label":"DB2 Tools-\u003Edb2pd"},{"code":"a8m500000008PmKAAU","label":"Performance-\u003EHang"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
30 April 2025
UID
swg21503291