Detecting unresponsiveness of a process

US10061631B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10061631-B2
Application numberUS-201615176656-A
CountryUS
Kind codeB2
Filing dateJun 8, 2016
Priority dateJun 25, 2015
Publication dateAug 28, 2018
Grant dateAug 28, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the present disclosure disclose a method for detecting unresponsiveness of a process, wherein for each target process in a plurality of target processes, creating and activating a timer on a system kernel side, so as to time the target process; and when timing of the corresponding timer exceeds a predetermined time threshold, determining the target process to be unresponsive, and performing a predetermined associated action.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for detecting unresponsiveness of a process, the method comprising: for each target process in a plurality of target processes, creating and activating a timer on a system kernel side to time the target process; and when timing of the timer exceeds a predetermined time threshold, determining the target process to be unresponsive, and performing a predetermined associated action; wherein the predetermined time threshold and the predetermined associated action are set in response to a setting command from the target process. 2. The method according to claim 1 , wherein the target process is a user space process. 3. The method according to claim 1 , further comprising: in response to receiving a heartbeat message from the target process, resetting the timer to retime the target process. 4. The method according to claim 3 , wherein the timer records a flag indicating receipt of a predetermined character from the target process. 5. The method according to claim 4 , wherein in response to receiving a heartbeat message from the target process, resetting the timer to retime the target process comprises: obtaining a character written by the target process from the heartbeat message; and in response to determining that the character is the predetermined character, setting the flag indicating receipt of the predetermined character from the target process. 6. The method according to claim 5 , further comprising: in response to receiving a close message from the target process, performing a corresponding operation based on the flag indicating receipt of the predetermined character from the target process. 7. The method according to claim 6 , wherein in response to receiving a close message from the target process, performing a corresponding operation based on the flag indicating receipt of the predetermined character from the target process comprises: stopping the timer when the flag indicating receipt of the predetermined character from the target process; and keeping the timer running when the flag is not indicating receipt of the predetermined character from the target process. 8. The method according to claim 1 , further comprising: creating a real-time kernel thread on the system kernel side to periodically transmit a heartbeat message to a hardware watchdog; and when a fatal problem occurs, stopping transmission of the heartbeat message to the hardware watchdog, wherein the hardware watchdog resets the system. 9. An apparatus for detecting unresponsiveness of a process, the apparatus comprising computer-executable logic operating in a memory, wherein the computer-executable program logic is configured to enable execution across one or more processors: for each target process in a plurality of target processes, create and activate a timer on a system kernel side to time the target process; and when timing of the timer exceeds a predetermined time threshold, determine the target process to be unresponsive, and perform a predetermined associated action; wherein the predetermined time threshold and the predetermined associated action are set in response to a setting command from the target process. 10. The apparatus according to claim 9 , wherein the target process is a user space process. 11. The apparatus according to claim 9 , further comprising: a heartbeat response module configured to, in response to receiving a heartbeat message from the target process, reset the timer to retime the target process. 12. The apparatus according to claim 11 , wherein the timer records a flag indicating receipt of a predetermined character from the target process. 13. The apparatus according to claim 12 , further configured to: obtain a character written by the target process from the heartbeat message; and in response to determining that the character is the predetermined character, set the flag indicating receipt of the predetermined character from the target process. 14. The apparatus according to claim 13 , further comprising: in response to receiving a close message from the target process, perform a corresponding operation based on the flag indicating receipt of the predetermined character from the target process. 15. The apparatus according to claim 14 , further configured to: stop the corresponding timer when the flag indicating receipt of the predetermined character from the target process; and keep the corresponding timer running when the flag is not indicating receipt of the predetermined character from the target process. 16. The apparatus according to claim 9 , further configured to: create a real-time kernel thread on the system kernel side to periodically transmit a heartbeat message to a hardware watchdog; and when a fatal problem occurs, stop transmission of the heartbeat message to the hardware watchdog, wherein the hardware watchdog resets the system. 17. A computer program product for detecting process unresponsiveness, the computer program product being tangibly stored on a non-transitory computer readable medium and including computer executable instructions that, when being executed, cause the computer to for each target process in a plurality of target processes, creating and activating a timer on a system kernel side to time the target process; and when timing of the timer exceeds a predetermined time threshold, determining the target process to be unresponsive, and performing a predetermined associated action; wherein the predetermined time threshold and the predetermined associated action are set in response to a setting command from the target process.

Assignees

Inventors

Classifications

  • Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40) · CPC title

  • the processing taking place on a specific hardware platform or in a specific software environment · CPC title

  • Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers · CPC title

  • by exceeding a time limit, i.e. time-out, e.g. watchdogs · CPC title

  • within a central processing unit [CPU] · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10061631B2 cover?
Embodiments of the present disclosure disclose a method for detecting unresponsiveness of a process, wherein for each target process in a plurality of target processes, creating and activating a timer on a system kernel side, so as to time the target process; and when timing of the corresponding timer exceeds a predetermined time threshold, determining the target process to be unresponsive, and…
Who is the assignee on this patent?
Emc Corp, Emc Ip Holding Co Llc
What technology area does this patent fall under?
Primary CPC classification G06F11/0757. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 28 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).