Technology for stall detection

US2016004577A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2016004577-A1
Application numberUS-201414325331-A
CountryUS
Kind codeA1
Filing dateJul 7, 2014
Priority dateJul 7, 2014
Publication dateJan 7, 2016
Grant date

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.

Detecting stalling of a software process in a computer system includes receiving identification of a task thread group executing in a work process executing on a computer system. The task thread group includes one or more threads and the receiving includes receiving identification of the one or more threads by a control process executing on a computer system. The detecting includes detecting whether there is a thread state change for the task thread group, marking the task as running responsive to detecting a thread state change for the task thread group, marking the task as stalled responsive to detecting an absence of a thread state change for at least a predefined amount of time, and marking the work process as stalled responsive detecting an absence of a predetermined signal from the work process for at least a predefined amount of time.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method for detecting stalling comprising: receiving identification of a task thread group executing in a work process executing on a computer system, wherein the task thread group includes one or more threads and the receiving includes receiving identification of the one or more threads by a control process executing on a computer system; detecting whether there is a thread state change for the task thread group; marking the task as running responsive to detecting a thread state change for the task thread group; marking the task as stalled responsive to detecting an absence of a thread state change for at least a predefined amount of time; and marking the work process as stalled responsive detecting an absence of a predetermined signal from the work process for at least a predefined amount of time. 2 . The method of claim 1 , wherein the thread state includes state of at least one thread of the task thread group. 3 . The method of claim 1 , wherein the thread state includes state of a predetermined thread of the task thread group. 4 . The method of claim 1 , wherein the thread state includes state of a predetermined set of threads of the task thread group. 5 . The method of claim 1 , wherein the thread state includes state of all threads of the task thread group. 6 . The method of claim 1 , wherein the method comprises: calculating instances of a hash at respective times responsive to instruction and stack pointer values from at least one of the one or more threads in the task thread group, and wherein detecting whether there is a thread state change for the task thread group comprises: comparing respective instances of the hash. 7 . The method of claim 1 , further comprising: responsive to detecting the task as stalled, performing a corrective action for the task. 8 . A system for detecting stalling, comprising: a processor; and computer readable storage media having instructions stored thereon for execution by the processor, wherein the instructions executed by the processor cause the processor to perform operations comprising: receiving identification of a task thread group executing in a work process executing on a computer system, wherein the task thread group includes one or more threads and the receiving includes receiving identification of the one or more threads by a control process executing on a computer system; detecting whether there is a thread state change for the task thread group; marking the task as running responsive to detecting a thread state change for the task thread group; marking the task as stalled responsive to detecting an absence of a thread state change for at least a predefined amount of time; and marking the work process as stalled responsive detecting an absence of a predetermined signal from the work process for at least a predefined amount of time. 9 . The system of claim 8 , wherein the thread state includes state of at least one thread of the task thread group. 10 . The system of claim 8 , wherein the thread state includes state of a predetermined thread of the task thread group. 11 . The system of claim 8 , wherein the thread state includes state of a predetermined set of threads of the task thread group. 12 . The system of claim 8 , wherein the thread state includes state of all threads of the task thread group. 13 . The system of claim 8 , wherein calculating instances of a hash at respective times responsive to instruction and stack pointer values from at least one of the one or more threads in the task thread group, and wherein detecting whether there is a thread state change for the task thread group comprises: comparing respective instances of the hash. 14 . The system of claim 8 , further comprising: responsive to detecting the task as stalled, performing a corrective action for the task. 15 . A computer program product for detecting stalling, including a computer readable storage medium having instructions stored thereon for execution by a computer, wherein the instructions, when executed by the computer, cause the computer to perform operations comprising: receiving identification of a task thread group executing in a work process executing on a computer system, wherein the task thread group includes one or more threads and the receiving includes receiving identification of the one or more threads by a control process executing on a computer system; detecting whether there is a thread state change for the task thread group; marking the task as running responsive to detecting a thread state change for the task thread group; marking the task as stalled responsive to detecting an absence of a thread state change for at least a predefined amount of time; and marking the work process as stalled responsive detecting an absence of a predetermined signal from the work process for at least a predefined amount of time. 16 . The computer program product of claim 15 wherein the thread state includes state of at least one thread of the task thread group. 17 . The computer program product of claim 15 wherein the thread state includes state of a predetermined thread of the task thread group. 18 . The computer program product of claim 15 wherein the thread state includes state of a predetermined set of threads of the task thread group. 19 . The computer program product of claim 15 wherein the thread state includes state of all threads of the task thread group. 20 . The computer program product of claim 15 wherein the instructions, when executed by the computer, cause the computer to perform operations further comprising: calculating instances of a hash at respective times responsive to instruction and stack pointer values from at least one of the one or more threads in the task thread group, and wherein detecting whether there is a thread state change for the task thread group comprises: comparing respective instances of the hash.

Assignees

Inventors

Classifications

  • G06F9/485Primary

    Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence) · CPC title

  • Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06) · CPC title

  • in a system implementing multitasking (multitasking per se G06F9/46) · CPC title

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

  • Exception handling · 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 US2016004577A1 cover?
Detecting stalling of a software process in a computer system includes receiving identification of a task thread group executing in a work process executing on a computer system. The task thread group includes one or more threads and the receiving includes receiving identification of the one or more threads by a control process executing on a computer system. The detecting includes detecting wh…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F9/485. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Jan 07 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).