Methods, systems and computer program products for monitoring interrelated tasks executing on a computer using queues
First Claim
1. A method for monitoring a task executing on a data processing system, the task having an associated work in process queue and an associated work pending queue, comprising the steps of:
- providing the task configured to properly execute requests which are terminated in progress and restarted from an initial start point of the requests;
determining if the task is executing properly; and
restarting the task if it is not executing properly; and
wherein the step of restarting the task comprises the step of reinitiating execution by the task of requests in the work in process queue from the initial start point of the requests, including;
placing requests in the work in process queue in the work pending queue;
clearing the work in process queue; and
reinitiating execution by the task of requests from the work pending queue;
wherein a plurality of interrelated tasks are monitored by a watchdog task and wherein each of the plurality of interrelated tasks has an associated work in process queue and an associated work pending queue and wherein at least one of the plurality of interrelated tasks places requests in the associated work pending queue of a second of the plurality of interrelated tasks and executes requests from its associated work pending queue received from a third of the plurality of interrelated tasks.
18 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems and computer program products are provided for monitoring a task executing on a data processing system, the task having an associated work in process queue and an associated work pending queue. The task is configured to properly execute requests that are terminated in progress and restarted from an initial start point. A watchdog task determines if the task is executing properly and restarts the task if it is not executing properly. Restarting is provided by placing requests in the work in process queue of the terminated task in the work pending queue and clearing the work in process queue. Execution by the task of requests from the work pending queue is then reinitiated.
55 Citations
6 Claims
-
1. A method for monitoring a task executing on a data processing system, the task having an associated work in process queue and an associated work pending queue, comprising the steps of:
-
providing the task configured to properly execute requests which are terminated in progress and restarted from an initial start point of the requests; determining if the task is executing properly; and restarting the task if it is not executing properly; and wherein the step of restarting the task comprises the step of reinitiating execution by the task of requests in the work in process queue from the initial start point of the requests, including; placing requests in the work in process queue in the work pending queue; clearing the work in process queue; and reinitiating execution by the task of requests from the work pending queue; wherein a plurality of interrelated tasks are monitored by a watchdog task and wherein each of the plurality of interrelated tasks has an associated work in process queue and an associated work pending queue and wherein at least one of the plurality of interrelated tasks places requests in the associated work pending queue of a second of the plurality of interrelated tasks and executes requests from its associated work pending queue received from a third of the plurality of interrelated tasks. - View Dependent Claims (2)
-
-
3. A system for monitoring tasks executing on a computer, comprising:
-
a first task having an associated work in process queue and an associated work pending queue, a watchdog task comprising; means for determining if the first task is executing properly; and means for restarting the first task if it is not executing properly, the means for restarting comprising; means for placing requests in the work in process queue in the work pending queue; means for clearing the work in process queue; and means for reinitiating execution by the first task of requests from the work pending queue; wherein the first task further comprises means for properly executing requests which are terminated in progress and restarted from an initial start point of the requests; and wherein a plurality of interrelated tasks are monitored by the watchdog task and wherein each of the plurality of interrelated tasks has an associated work in process queue and an associated work pending queue and wherein at least one of the plurality of interrelated tasks places requests in the associated work pending queue of a second of the plurality of interrelated tasks and executed requests from its associated work pending queue received from a third of the plurality of interrelated tasks. - View Dependent Claims (4)
-
-
5. A computer program product for monitoring a task executing on a computer, the task having an associated work in process queue and an associated work pending queue, the computer program product comprising:
-
a computer-readable storage medium having computer-readable program code means embodied in said medium, said computer-readable program code means comprising; computer-readable program code means for determining if the task is executing properly; computer-readable program code means for restarting the task if it is not executing properly, the computer-readable program code means for restarting comprising; computer-readable program code means for placing requests in the work in process queue in the work pending queue; computer-readable program code means for clearing the work in process queue; and computer-readable program code means for reinitiating execution by the task of requests from the work pending queue; wherein the task is configured to properly execute requests which are terminated in progress and restarted from an initial start point of the request; and wherein a plurality of interrelated tasks are monitored by a watchdog task and wherein each of the plurality of interrelated tasks has an associated work in process queue and an associated work pending queue and wherein at least one of the plurality of interrelated tasks places requests in the associated work pending queue of a second of the plurality of interrelated tasks and executes requests from its associated work pending queue received from a third of the plurality of interrelated tasks. - View Dependent Claims (6)
-
Specification