DB2 - Problem description
Problem IC97813 | Status: Closed |
STANDBY MAY FAIL TO CONNECT TO PRIMARY WITHIN HADR_TIMEOUT, WHEN DB2_HADR_BUF_SIZE IS SET TO A VERY LARGE VALUE | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
Our documentation says, that DB2_HADR_BUF_SIZE upper limit is 4 GB. In reality, it can be set to much higher values, up to 64GB. When DB2_HADR_BUF_SIZE is set to such a high value, standby may fail to connect to primary within HADR_TIMEOUT time, as the allocation/reallocation of that big buffer can take a long time to complete. Primary reports the following message in the db2diag.log file: 2013-11-07-09.33.03.759520+000 I7833873A555 LEVEL: Error PID : 8257942 TID : 20048 PROC : db2sysc 0 INSTANCE: xxxxx NODE : 000 DB : yyy EDUID : 20048 EDUNAME: db2hadrp (yyy) 0 FUNCTION: DB2 UDB, High Availability Disaster Recovery, hdrEduAcceptEvent, probe:20200 MESSAGE : Did not receive anything through HADR connection for the duration of HADR_TIMEOUT. Closing connection. DATA #1 : Hexdump, 4 bytes 0x0A0000001CBF8ADC : 0000 001F .... Standby will the fail with: 2013-11-07-09.35.20.714698+000 I1245568A399 LEVEL: Error PID : 8978638 TID : 20048 PROC : db2sysc 0 INSTANCE: xxxxxx NODE : 000 DB : yyy EDUID : 20048 EDUNAME: db2hadrs (yyy) 0 FUNCTION: DB2 UDB, High Availability Disaster Recovery, hdrTcpIpRecv, probe:11810 MESSAGE : Zero bytes received. Remote end may have closed connection This APAR will make sure, that the receive buffer is only allocated/reallocted, when really needed, to avoid unnecessary long allocation times. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.7 Fix Pack 10. * **************************************************************** | |
Local Fix: | |
Set HADR_TIMEOUT to a higher value. | |
Solution | |
First fixed in DB2 Version 9.7 Fix Pack 10. | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC97815 IC97816 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 21.11.2013 09.12.2014 09.12.2014 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP10 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.10 |