What is a Global Deadlock?
A global deadlock is a situation in which unresolvable contention exists for shared resources between tasks executing on different members within a data sharing group.
Detecting Global Deadlocks
A global deadlock is possible if at least one stalled task is waiting on a global resource. In a potential global deadlock situation, each member passes information to the one acting as the global deadlock manager. The global deadlock manager examines the information gathered from the other members and determines which tasks, if any, are deadlocked.
Resolving Global Deadlocks
If a global deadlock exists, user exits are invoked, to assist in selecting a victim task. If these exits are not provided, the task running for the shortest period or with the lowest priority is designated as the victim. Once the victim is determined, the member on which the victim is executing is directed to cancel the task.
Global Deadlock User Exits
Two user exits are used in selecting a victim in a global deadlock situation:
Note: For details on coding these exits, see the CA IDMS System Operations Guide.
|
Copyright © 2014 CA.
All rights reserved.
|
|