Method for mutual computer process monitoring and restart
First Claim
1. A method of mutual process monitoring for detecting a termination of a process within a plurality of processes in a data processing system, the method comprising the steps of:
- establishing a monitoring policy, wherein the monitoring policy assigns each process within the plurality of processes to monitor one other process within the plurality of processes, thereby forming a ring of mutually monitoring processes within the data processing system, wherein the data processing system is a single node within a multi-node system;
responsive to a termination of execution of a monitored process, determining the cause of the execution termination by the monitoring process; and
responsive to a determination that the monitored process terminated execution in an abnormal manner, attempting to restart the monitored process by the monitoring 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.
16 Citations
44 Claims
-
1. A method of mutual process monitoring for detecting a termination of a process within a plurality of processes in a data processing system, the method comprising the steps of:
-
establishing a monitoring policy, wherein the monitoring policy assigns each process within the plurality of processes to monitor one other process within the plurality of processes, thereby forming a ring of mutually monitoring processes within the data processing system, wherein the data processing system is a single node within a multi-node system;
responsive to a termination of execution of a monitored process, determining the cause of the execution termination by the monitoring process; and
responsive to a determination that the monitored process terminated execution in an abnormal manner, attempting to restart the monitored process by the monitoring process. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for inserting an additional process within a plurality of processes containing a mutually monitoring process policy in a data processing system, the method comprising the steps of:
-
establishing a monitoring policy, wherein the monitoring policy assigns each process within the plurality of processes to monitor one other process within the plurality of processes, thereby fanning a ringof mutually monitoring processes within the data processing system, wherein the data processing system is a single node within a multi-node system;
receiving a request for an additional process to join the plurality of processes;
responsive to the additional process joining the plurality of processes, randomly selecting a process within the plurality of processes to monitor the additional process; and
modifying the mutually monitoring process policy, wherein the selected process monitors the additional process for termination of execution. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A data processing system for mutual process monitoring for detecting a termination of a process within a plurality of processes in a data processing system, comprising:
-
establishing means for establishing a monitoring policy, wherein the monitoring policy assigns each process within the plurality of processes to monitor one other process within the plurality of processes, thereby forming a ring of mutually monitoring processes within the data processing system, wherein the data processing system is a single node within a multi-node system;
determining means, responsive to a termination of execution of a monitored process, for determining the cause of the execution termination by the monitoring process; and
attempting means, responsive to a determination that the monitored process terminated execution in an abnormal manner, for attempting to restart the monitored process by the monitoring process. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
-
22. A data processing system for inserting an additional process within a plurality of processes containing a mutually monitoring process policy in a data processing system, the method comprising the steps of:
-
establishing means for establishing a monitoring policy, wherein the monitoring policy assigns each process within the plurality of processes to monitor one other process within the plurality of processes, thereby forming a ring of mutually monitoring processes within the data processing system, wherein the data processing system is a single node within a multi-node system;
receiving means for receiving a request for an additional process to join the plurality of processes;
selecting means, responsive to the additional process joining the plurality of processes, for randomly selecting a process within the plurality of processes to monitor the additional process; and
modifying means for modifying the mutually monitoring process policy, wherein the selected process monitors the additional process for termination of execution. - View Dependent Claims (23, 24, 25, 26, 27, 28)
-
-
29. A data processing system, comprising:
-
a bus system;
a memory, containing a set of instructions and 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 a monitoring policy, wherein the monitoring policy assigns each process within the plurality of processes to monitor one other process within the plurality of processes, thereby forming a ring of mutually monitoring processes within the data processing system, wherein the data processing system is a single node within a multi-node system, responsive to a termination of execution of a monitored process, the processing unit instructs the monitoring process to determine the cause of the execution termination, and responsive to a determination that the monitored process terminated execution in an abnormal manner, the processing unit instructs the monitoring process to attempt to restart the monitored process.
-
-
30. A data processing system, comprising:
-
a bus system;
a memory, containing a set of instructions and 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 a monitoring policy, wherein the monitoring policy assigns each process within the plurality of processes to monitor one other process within the plurality of processes, thereby forming a ring of mutually monitoring processes within the data processing system, wherein the data processing system is a single node within a multi-node system, receive a request for an additional process to join the plurality of processes, respond to the additional process joining the plurality of processes, the processing unit randomly selects a process within the plurality of processes to monitor the additional process, and the processing unit instructs the selected process to modify the mutually monitoring process policy, wherein the selected process monitors the additional process for termination of execution.
-
-
31. A computer program product in a computer-readable medium for mutual process monitoring for detecting a termination of a process within a plurality of processes in a data processing system, comprising:
-
instructions for establishing a monitoring policy, wherein the monitoring policy assigns each process within the plurality of processes to monitor one other process within the plurality of processes, thereby forming a ring of mutually monitoring processes within the data processing system, wherein the data processing system is a single node within a multi-node system;
instructions, responsive to a termination of execution of monitored process, for determining the cause of the execution termination by the monitoring process; and
instructions, responsive to a determination that the monitored process terminated execution in an abnormal manner, for attempting to restart the monitored process by the monitoring process. - View Dependent Claims (32, 33, 34, 35, 36, 37)
-
-
38. A computer program product in a computer-readable medium for inserting an additional process within a plurality of processes containing a mutually monitoring process policy in a data processing system, comprising:
-
instructions for establishing a monitoring policy, wherein the monitoring policy assigns each process within the plurality of processes to monitor one other process within the plurality of processes, thereby forming a ring of mutually monitoring processes within the data processing system, wherein the data processing system is a single node within a multi-node system;
instructions for receiving a request for an additional process to join the plurality of processes;
instructions, responsive to the additional process joining the plurality of processes, for randomly selecting a process within the plurality of processes to monitor the additional process; and
instructions for modifying the mutually monitoring process policy, wherein the selected process monitors the additional process for termination of execution. - View Dependent Claims (39, 40, 41, 42, 43, 44)
-
Specification