DB2 - Problembeschreibung
Problem IC82958 | Status: Geschlossen |
MEMORY LEAK IN APPLICATION HEAP IN DB2 9.8 OR HIGHER USING THE DB2READLOG API OVER A PERSISTENT CONNECTION | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 980 - DB2 | |
Problembeschreibung: | |
Memory Usage in the Application Heap will grow during the scope of a connection when the db2ReadLog API is called. This problem only occurs for DB2 Version 9.8 and higher which uses multiple agents to enhance the performance of log scanning. Replication applications may be impacted. A workaround is to periodically recycle the application / connection, which frees the entire application heap for the connection. In order to diagnose this problem: Monitor for constantly increasing memory usage of Application Memory in any of : db2pd -dbptnmem (See the "Used" value for the APPL-<database> consumer) db2pd -db <db> -memsets (see the "Used" column for the "AppCtl Memory Set) where available, use the MON_GET_MEMORY_SET routine (see the MEMORY_SET_USED for the APPLICATION memory set) Monitor for constantly increasing Application Heap usage, especially an application known to be calling the db2ReadLog api db2pd -db <db> -mempools (see the PhySz column for any memory pool where PoolName = apph) examine an application snapshot for an application with high application memory usage where available, use the MON_GET_MEMORY_POOL routine (see the MEMORY_POOL_USED value for any memory pool of type "APPLICATION") Using "db2pd -db <db> -memblocks all", confirm that memory blocks are accumulating where the "File" value matches the following: Memory blocks sorted by size for apph pool: PoolName TotalSize(Bytes) TotalCount LOC File apph 286880616 442717 148 605356440 | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * Systems with replication or other log scanning activity * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.8 Fix Pack 5 * **************************************************************** | |
Local-Fix: | |
Periodically recycle any application (such as replication) with a persistent connection which makes use of the db2ReadLog API call. | |
Lösung | |
First fixed in DB2 Version 9.8 Fix Pack 5 | |
Workaround | |
See Local Fix | |
Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC82971 Nachfolger : | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 26.04.2012 10.08.2012 10.08.2012 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.8.FP5 | |
Problem behoben lt. FixList in der Version | |
9.8.0.5 |