DB2 - Problem description
Problem IT37531 | Status: Closed |
DB2_HANG_DETECT SCRIPT MAY DETECT HANG INCORRECTLY AND KILL THE INSTANCE WITH ACTION=TERMINATE | |
product: | |
DB2 FOR LUW / DB2FORLUW / B50 - DB2 | |
Problem description: | |
The db2_hang_detect script has a logic executing some monitor commands like "list applications" in background mode and waiting for its completion by checking the PID. If the command does not end in a certain period, the script thinks it can be hanging and kills the instance if ACTION=terminate. However, if the command ends normally and another unrelated process in the system starts with the same PID, db2_hang_detect thinks the command is still running. Thus it may detect the hang incorrectly and kill the instance. It can occur when the same PID is re-used within a second and the process does not complete within the timeout period. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to fixpack inclusive of this APAR fix. * **************************************************************** | |
Local Fix: | |
Using ACTION=INFORM instead of TERMINATE can prevent the instance from being killed incorrectly | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to fixpack inclusive of this APAR fix. * **************************************************************** | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 07.07.2021 01.12.2021 01.12.2021 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |