DB2 - Problem description
Problem IC77856 | Status: Closed |
DB2 INCORRECTLY RELEASES SHARED MEMORY ON LINUX, LEADING TO PAGING, | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
DB2 is intending to use the MADV_REMOVE flag on Linux to decommit memory with the madvise() API, but instead is falling back to a weaker MADV_DONTNEED flag. This is due to an incorrect attempt to use MADV_REMOVE with memory mapped stack memory. As a result, DB2's shared memory is not being decommitted, but only unmapped. Memory is not being released dynamically by DB2 as expected and is also highly eligible for paging out, which can later result in performance degradation on page-ins if DB2 wants to reuse the memory. STMM will also not account for this memory in its target calculations, since it appears in memory statistics as though it were clean file cache pages, and available for other use. This leads to memory overcommitment in STMM-tuned environments. Please note that vm.swappiness should be set to 0 for DB2 systems, otherwise this may result in system swapping when there is no memory overcommitment. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All DB2/Linux systems * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.7 Fix Pack 5 or higher * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows | |
Solution | |
Problem first fixed in DB2 Version 9.7 Fix Pack 5 | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC78091 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 31.07.2011 22.12.2011 22.12.2011 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP5 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.5 |
![]() |