IBM Support

[Db2] V11.1m4fp4, V11.5fp0 のみ: Windows 版で PRIVATE メモリーがリークすることがある

Troubleshooting


Problem

Db2 V11.1m4fp4 または V11.5fp0 の Windows 版で、データベース・マネージャー (db2syscs.exe) を起動していると PRIVATE メモリーがリークすることがあります。
リークの結果として以下のような症状が報告されています。
  • DATABASE_MEMORY へメモリーを割り振れないために、アプリケーションのパフォーマンスが悪化する
  • データベースの活動化がメモリー不足で失敗する
  • データベースの接続がメモリー不足で失敗したり待たされることがある
  • SQL の実行で SQL0973N、SQL0101N、SQL0954N など様々なメモリー不足のエラーが返る

Symptom

db2pd -dbptnmem コマンドの出力結果を観察すると、PRIVATE セットの増加傾向が観察されます。
ここで、db2pd -memblock private sort を実行すると、以下の LOC および FILE のメモリー・ブロックが PRIVATE セットのほとんどのメモリーを占めていることが観察できます。
All memory consumers in Private memory set:
PoolAddr           PoolID  PoolName  SecondID TotalSize(Bytes)  %Bytes TotalCount %Count  LOC  File
0x000001504C280498 86      persist   0        7663597408        99.87  216388     99.43   476  4284367586
注:db2pd -memblock コマンドの多用はシステム負荷がかかるだけでなく別のメモリー・リークを起こす可能性があります。

Document Location

Worldwide

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m0z000000GozAAAS","label":"Memory"}],"ARM Case Number":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"11.1.0;11.5.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

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.

Document Information

Modified date:
01 May 2025

UID

ibm16254141