Timeout detection method, device, device and storage medium

A technology of timeout detection and timing, applied in the computer field, can solve the problems of long residence time, no timeout detection method, and other processes cannot be scheduled, so as to improve the efficiency of analysis and positioning, and improve the maintainability.

Active Publication Date: 2022-05-10
TENCENT CLOUD COMPUTING BEIJING CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Usually the operating system kernel may stay in the kernel state for a long time due to various reasons, resulting in the failure of other application processes to be scheduled, resulting in exceptions or alarms for delay-sensitive services
[0004] However, in related technologies, only when the process is in the user state, will the process timeout be detected. When the process is switched from the user state to the kernel state, there is no relevant timeout detection means in the related technology.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Timeout detection method, device, device and storage medium
  • Timeout detection method, device, device and storage medium
  • Timeout detection method, device, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the purpose, technical solutions and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings. All other embodiments obtained under the premise of creative labor belong to the scope of protection of this application.

[0039] In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.

[0040] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meaning as commonly understood by those skilled in the technical field of the embodiments of the present application. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

An embodiment of the present application provides a timeout detection method, device, device, and storage medium, wherein the method includes: adding a first timestamp to the process when it is detected that the process is switched from the user state to the kernel state; according to the The first time stamp and the current moment determine the running time of the process in the kernel state; when the running time exceeds a threshold, determine that the process runs overtime in the kernel state; when running with the process When the total running time corresponding to the completion time does not exceed the threshold, it is determined that the running of the process in the kernel mode has not timed out. Through this application, it is possible to timely detect that the running time of the process in the kernel state exceeds the limit, and improve the analysis and positioning efficiency of the timeout problem and the maintainability of the system.

Description

technical field [0001] The embodiments of the present application relate to the field of computers, and relate to, but are not limited to, a timeout detection method, device, device, and storage medium. Background technique [0002] The business applications running on the server are basically background server applications. These applications need to process a large number of service requests and provide high-performance services. However, there are also some applications that not only require high performance, but also have relatively high requirements for real-time performance and are sensitive to system delays. For such applications, the current general-purpose operating systems provide some patches and features to meet the special needs of these applications, so that such applications can run normally and stably. [0003] Usually the operating system kernel may stay in the kernel state for a long time due to various reasons, resulting in the failure of other applicatio...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/07G06F11/36
CPCG06F11/0757G06F11/3668
Inventor 蒋彪陈立东
Owner TENCENT CLOUD COMPUTING BEIJING CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products