Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Linux system crash control method and system and medium

A control method and core technology, applied in the direction of response error generation, instrumentation, electrical digital data processing, etc., can solve problems such as large data access volume, excessive load system crashes, etc., and achieve the effect of avoiding processing and avoiding system downtime

Active Publication Date: 2021-04-13
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, at present, the system crash caused by the blockage of Linux tasks and the triggering of kernel panic caused by the large amount of data access in customer use, including banking business, and excessive load cannot be solved well.

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
  • Linux system crash control method and system and medium
  • Linux system crash control method and system and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, so as to define the protection scope of the present invention more clearly.

[0031] Embodiments of the invention include:

[0032] First, see figure 1 , a Linux system crash control method, comprising:

[0033] Create a kernel crash analysis thread, and use the Linux command #more / var / log / messages to display the time when the event occurred, the host name of the source system where the event occurred, and the program name that generated the log message, and analyze the cause of the system crash;

[0034] If the kernel crash analysis thread checks out the following display in the system log:

[0035] shutdown:shutting down for system reboot

[0036] init: Switching to runlevel: 6 exiting on signal 15

[0037] Got SIGTE...

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

The invention discloses a Linux system crash control method, which comprises the following steps of: creating a kernel crash analysis thread, and analyzing reasons for crash of a system, namely system crash caused by a user or system crash caused by hardware or system crash caused by software; creating a kernel crash avoidance thread, performing a system crash test experiment caused by software, and triggering system crash caused by the software; reading a log code generated when the system crashes, and writing the log code into the suspended task function for protection and shielding; and packaging the suspended task function into a Linux kernel, restarting the operating system, and entering the Linux kernel again. By means of the mode, the system log can be obtained through the Linux command, the hardware problem and the software problem can be distinguished by analyzing the system log to trigger the crash phenomenon, blockage of the service volume is protected and shielded, the service volume is prevented from being monitored, and when the service access data volume is large, software faults can be avoided.

Description

technical field [0001] The invention relates to the field of system abnormality analysis, in particular to a Linux system crash control method, system and medium. Background technique [0002] When using a server, it is often encountered that the server crashes abnormally or triggers the Linux kernel panic. The cause of the server crash is firstly the hardware problem of the server itself; or the external environment triggers the problem, such as the ambient temperature. If it is too high or too low, the server self-protection threshold is triggered; or it may be the impact of a virus in the external environment, or the server system is down due to task congestion; no matter what kind of phenomenon causes the abnormal restart and downtime, it will affect the Customer experience or customer usage will have an immeasurable impact. [0003] kdump is a tool and service used to dump memory operating parameters when the system crashes, deadlocks or crashes, so that the system wil...

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 Applications(China)
IPC IPC(8): G06F11/07G06F11/14
CPCG06F11/079G06F11/1438
Inventor 史慧娟
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products