Method for mutual computer process monitoring and restart
First Claim
1. A method for detecting a termination of a process within a plurality of processes in a data processing system, the method comprising the steps of:
- establishing, within the plurality of processes, a monitoring policy, wherein the monitoring policy assigns a first process within the plurality of processes to monitor a second process within the plurality of processes;
responsive to a termination of execution of the second process, determining the cause of the execution termination by the first process; and
responsive to a determination that the second process terminated execution in an abnormal manner, attempting to restart the second process by the first process.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a method for detecting a termination of a process within a plurality of processes in a data processing system. A monitoring policy is established, within the plurality of processes, wherein the monitoring policy assigns a first process within the plurality of processes to monitor a second process within the plurality of processes. Responsive to a termination of execution of the second process, a cause of the execution termination is determined by the first process. Responsive to a determination that the second process terminated execution in an abnormal manner, the first process attempts to restart the second process. Furthermore, the present invention provides a method for inserting a process within a plurality of processes containing a first process and a monitoring policy in a data processing system. A request is received from a second process to join the plurality of processes. Responsive to the second process joining the plurality of processes, the first process within the plurality of processes is selected to monitor the second process. The monitoring policy is modified, wherein the monitoring policy assigns the selected first process to monitor the second process for termination of execution.
26 Citations
50 Claims
-
1. A method for detecting a termination of a process within a plurality of processes in a data processing system, the method comprising the steps of:
-
establishing, within the plurality of processes, a monitoring policy, wherein the monitoring policy assigns a first process within the plurality of processes to monitor a second process within the plurality of processes;
responsive to a termination of execution of the second process, determining the cause of the execution termination by the first process; and
responsive to a determination that the second process terminated execution in an abnormal manner, attempting to restart the second process by the first process. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for inserting a process within a plurality of processes containing a first process and a monitoring policy in a data processing system, the method comprising the steps of:
-
receiving a request for a second process to join the plurality of processes;
responsive to the second process joining the plurality of processes, selecting the first process within the plurality of processes to monitor the second process; and
modifying the monitoring policy, wherein the selected first process monitors the second process for termination of execution. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32)
-
-
17. A data processing system for detecting a termination of a process within a plurality of processes in a data processing system, comprising:
-
establishing means for establishing, within the plurality of processes, a monitoring policy, wherein the monitoring policy assigns a first process within the plurality of processes to monitor a second process within the plurality of processes;
determining means, responsive to a termination of execution of the second process, for determining the cause of the execution termination by the first process; and
attempting means, responsive to a determination that the second process terminated execution in an abnormal manner, for attempting to restart the second process by the first process.
-
-
25. A data processing system for inserting a process within a plurality of processes containing a first process and a monitoring policy in a data processing system, the method comprising the steps of:
-
receiving means for receiving a request for a second process to join the plurality of processes;
selecting means, responsive to the second process joining the plurality of processes, for selecting the first process within the plurality of processes to monitor the second process; and
modifying means for modifying the monitoring policy, wherein the selected first process monitors the second process for termination of execution.
-
-
33. A data processing system, comprising:
-
a bus system;
a memory, containing a set of instructions and a first and second processes within a plurality of processes, connected to the bus system; and
a processing unit connected to the bus system, wherein the processing unit executes the set of instructions from the memory to establish, within the plurality of processes, a monitoring policy, wherein the monitoring policy assigns the first process within the plurality of processes to monitor the second process within the plurality of processes, responsive to a termination of execution of the second process, the processing unit instructs the first process to determine the cause of the execution termination, and responsive to a determination that the second process terminated execution in an abnormal manner, the processing unit instructs the first process to attempt to restart the second process. - View Dependent Claims (36, 37, 38, 39, 40, 41, 42)
-
-
34. A data processing system, comprising:
-
a bus system;
a memory, containing a set of instructions and a first process within a plurality of processes and a second process, connected to the bus system; and
a processing unit connected to the bus system, wherein the processing unit executes the set of instructions from the memory to receive a request for the second process to join the plurality of processes, responsive to the second process joining the plurality of processes, the processing unit selects the first process within the plurality of processes to monitor the second process, and the processing unit instructs the first process to modify the monitoring policy, wherein the selected first process monitors the second process for termination of execution.
-
-
35. A computer program product in a computer-readable medium for detecting a termination of a process within a plurality of processes in a data processing system, comprising:
-
instructions for establishing, within the plurality of processes, a monitoring policy, wherein the monitoring policy assigns a first process within the plurality of processes to monitor a second process within the plurality of processes;
instructions, responsive to a termination of execution of the second process, for determining the cause of the execution termination by the first process; and
instructions, responsive to a determination that the second process terminated execution in an abnormal manner, for attempting to restart the second process by the first process.
-
-
43. A computer program product for inserting a process within a plurality of processes containing a first process and a monitoring policy in a data processing system, comprising:
-
instructions for receiving a request for a second process to join the plurality of processes;
instructions, responsive to the second process joining the plurality of processes, for selecting the first process within the plurality of processes to monitor the second process; and
instructions for modifying the monitoring policy, wherein the selected first process monitors the second process for termination of execution. - View Dependent Claims (44, 45, 46, 47, 48, 49, 50)
-
Specification