Timeout detection facility
First Claim
1. A method for detecting hung transactions of active programs, said active programs including a given active program, comprising:
- creating a detection process;
determining a detection process wait time for said detection process;
activating said detection process after said detection process wait time lapses;
checking each of said active programs, using said detection process, to detect one of said hung transactions, including;
determining whether said given active program is in a response wait state, when said given active program is in said response wait state, determining a respective program wait time of said given active program, and when said respective program wait time exceeds a maximum allowed program wait time, indicating said given active program as said detected one of said hung transactions; and
when said detection process indicates one of said hung transactions is detected, taking a remedial action.
3 Assignments
0 Petitions
Accused Products
Abstract
In an IMS/ESA environment, an ITASK is provided so as periodically to check IMS application programs to determine whether any is hung, thus providing notification for hung transactions that sometimes occur after an asynchronous APPC call issued by IMS from the IMS dependent region during syncpoint processing. APPC calls cause a time stamp to be written, which is used by the ITASK to determine how long the transaction is in a response wait state. The ITASK is reactivated after a waiting period dynamically determined on the basis of the processes active and a minimum interval. Detection of hung transactions results in a remedial action being taken.
36 Citations
12 Claims
-
1. A method for detecting hung transactions of active programs, said active programs including a given active program, comprising:
-
creating a detection process;
determining a detection process wait time for said detection process;
activating said detection process after said detection process wait time lapses;
checking each of said active programs, using said detection process, to detect one of said hung transactions, including;
determining whether said given active program is in a response wait state, when said given active program is in said response wait state, determining a respective program wait time of said given active program, and when said respective program wait time exceeds a maximum allowed program wait time, indicating said given active program as said detected one of said hung transactions; and
when said detection process indicates one of said hung transactions is detected, taking a remedial action. - View Dependent Claims (2)
determining said respective program wait time based on a difference between a current time and a time stamp corresponding to a transaction start time for said given active program.
-
-
3. A method for detecting hung transactions of active programs, said active programs including a given active program, comprising:
-
creating a detection process;
determining a detection process wait time for said detection process;
activating said detection process after said detection process wait time lapses;
checking each of said active programs, using said detection process, to detect one of said hung transactions; and
when said detection process indicates one of said hung transactions is detected, taking a remedial action;
wherein said detection process wait time is determined based on a shortest time until expiration of all of said active programs in a response wait state.
-
-
4. A method for detecting hung transactions of active programs, said active programs including a given active program, comprising:
-
creating a detection process;
determining a detection process wait time for said detection process;
activating said detection process after said detection process wait time lapses;
checking each of said active programs, using said detection process, to detect one of said hung transactions; and
when said detection process indicates one of said hung transactions is detected, taking a remedial action;
wherein;
said active programs are 1 . . . n in number;
a respective time until expiration for an ith one of said n active programs is given by;
-
-
5. A computer system adapted to detect hung transactions of active programs, said active programs including a given active program, comprising:
-
a processor, and a memory including software instructions adapted to enable the computer system to perform the steps of;
creating a detection process;
determining a detection process wait time for said detection process;
activating said detection process after said detection process wait time lapses;
checking each of said active programs, using said detection process, to detect one of said hung transactions, including;
determining whether said given active program is in a response wait state, when said given active program is in said response wait state, determining a respective program wait time of said given active program, and when said respective program wait time exceeds a maximum allowed program wait time, indicating said given active program as said detected one of said hung transactions; and
when said detection process indicates one of said hung transactions is detected, taking a remedial action. - View Dependent Claims (6)
-
-
7. A computer system adapted to detect hung transactions of active programs, said active programs including a given active program, comprising:
-
a processor, and a memory including software instructions adapted to enable the computer system to perform the steps of;
creating a detection process;
determining a detection process wait time for said detection process;
activating said detection process after said detection process wait time lapses;
checking each of said active programs, using said detection process, to detect one of said hung transactions; and
when said detection process indicates one of said hung transactions is detected, taking a remedial action;
wherein said memory further includes software instructions adapted to enable the computer system further to base said detection process wait time on a shortest time until expiration of all of said active programs in a response wait state.
-
-
8. A computer system adapted to detect hung transactions of active programs, said active programs including a given active program, comprising:
-
a processor, and a memory including software instructions adapted to enable the computer system to perform the steps of;
creating a detection process;
determining a detection process wait time for said detection process;
activating said detection process after said detection process wait time lapses;
checking each of said active programs, using said detection process, to detect one of said hung transactions; and
when said detection process indicates one of said hung transactions is detected, taking a remedial action;
wherein said memory further includes software instructions adapted to enable the computer system further to operate so that;
said active programs are 1 . . . n in number;
a respective time until expiration for an ith one of said n active programs is given by;
-
-
9. A computer program product for enabling a computer to detect hung transactions of active programs, said active programs including a given active program, said program product comprising:
-
software instructions for enabling the computer to perform predetermined operations, and a computer readable medium bearing the software instructions;
the predetermined operations including the steps of;
creating a detection process;
determining a detection process wait time for said detection process;
activating said detection process after said detection process wait time lapses;
checking each of said active programs, using said detection process, to detect one of said hung transactions, including;
determining whether said given active program is in a response wait state, when said given active program is in said response wait state, determining a respective program wait time of said given active program, and when said respective program wait time exceeds a maximum allowed program wait time, indicating said given active program as said detected one of said hung transactions; and
when said detection process indicates one of said hung transactions is detected, taking a remedial action. - View Dependent Claims (10)
-
-
11. A computer program product for enabling a computer to detect hung transactions of active programs, said active programs including a given active program, said program product comprising:
-
software instructions for enabling the computer to perform predetermined operations, and a computer readable medium bearing the software instructions;
the predetermined operations including the steps of;
creating a detection process;
determining a detection process wait time for said detection process;
activating said detection process after said detection process wait time lapses;
checking each of said active programs, using said detection process, to detect one of said hung transactions; and
when said detection process indicates one of said hung transactions is detected, taking a remedial action;
wherein said step of determining said detection process wait time is performed so as to base said detection process wait time on a shortest time until expiration of all of said active programs in a response wait state.
-
-
12. A computer program product for enabling a computer to detect hung transactions of active programs, said active programs including a given active program, said program product comprising:
-
software instructions for enabling the computer to perform predetermined operations, and a computer readable medium bearing the software instructions;
the predetermined operations including the steps of;
creating a detection process;
determining a detection process wait time for said detection process;
activating said detection process after said detection process wait time lapses;
checking each of said active programs, using said detection process, to detect one of said hung transactions; and
when said detection process indicates one of said hung transactions is detected, taking a remedial action;
wherein said software instructions enable said computer to perform so that;
said active programs are 1 . . . n in number;
a respective time until expiration for an ith one of said n active programs is given by;
-
Specification