[go: up one dir, main page]

CN114968632B - Method and device for generating core compressed file - Google Patents

Method and device for generating core compressed file

Info

Publication number
CN114968632B
CN114968632B CN202210299210.XA CN202210299210A CN114968632B CN 114968632 B CN114968632 B CN 114968632B CN 202210299210 A CN202210299210 A CN 202210299210A CN 114968632 B CN114968632 B CN 114968632B
Authority
CN
China
Prior art keywords
data
core
memory
section
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210299210.XA
Other languages
Chinese (zh)
Other versions
CN114968632A (en
Inventor
李贝
刘伟灿
熊权洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202210299210.XA priority Critical patent/CN114968632B/en
Publication of CN114968632A publication Critical patent/CN114968632A/en
Application granted granted Critical
Publication of CN114968632B publication Critical patent/CN114968632B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0778Dumping, i.e. gathering error/state information after a fault for later diagnosis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/073Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a memory management context, e.g. virtual memory or cache management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0781Error filtering or prioritizing based on a policy defined by the user or on a policy defined by a hardware/software module, e.g. according to a severity level
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0787Storage of error reports, e.g. persistent data storage, storage using memory protection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1737Details of further file system functions for reducing power consumption or coping with limited storage space, e.g. in mobile devices
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for generating a core compressed file, which comprises the steps of obtaining a process pid of a trigger coredump flow, obtaining memory use and distribution conditions of the process through process pid inquiry maps and smaps information, intercepting core data according to the memory use and distribution conditions of the process, screening out section information occupying physical memory for obtained target process memory data, filtering section data not occupying physical memory, further judging and filtering the information to be saved to the core data content item according to a preset filtering rule to obtain the core data content item to be saved finally, integrating and grouping the sequence of the core data content item to be saved finally obtained after filtering, sequentially applying for memory and compressing the data of each grouped data unit, and finally saving the core data as the core compressed file. The invention also provides a corresponding core compressed file generating device.

Description

Method and device for generating core compressed file
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a method and a device for generating a core compressed file.
Background
In an embedded linux system, when a program crashes, a core file (core dump file) is generally generated under a designated directory, a developer calls the core file to analyze abnormal points of the program through gdb, a plurality of core files can be continuously generated under certain abnormal scenes, so that the memory space of a system disk is insufficient, the system is abnormal, new files cannot be normally stored, in some extreme cases, such as serious shortage of the memory space of the system disk, the core file required to be generated by the system is too large, the core file cannot be normally generated, the existing core file compression scheme is finished through a compression instruction based on the generated core file, the risk of core generation failure cannot be avoided, the compression rate is low, the control is difficult, and the requirement of the core file on the occupation size of the disk space after the core file is compressed cannot be met.
Disclosure of Invention
Aiming at the limitations of the existing core file compression scheme, the invention provides a core compression file generation method and a core compression file generation device, which can flexibly intercept core data content, directly perform data compression processing on core original data so as to store the core original data into a core compression file, thereby improving the compression rate of the core file and further reducing the requirement on the size of a disk space.
In order to achieve the above object, according to one aspect of the present invention, there is provided a core compressed file generating method comprising the steps of:
S1, acquiring a process pid of a trigger coredump flow, and acquiring the memory use and distribution condition of the process by inquiring maps and smaps information of the process pid;
S2, intercepting the core data according to the memory use and distribution conditions of the process, screening out section information occupying physical memory for the obtained target process memory data, filtering section data not occupying the physical memory, and further judging and filtering the core data content item information to be stored according to a preset filtering rule to obtain a final core data content item to be stored;
S3, sequentially integrating and grouping the core data content items which are finally stored and obtained after filtering, sequentially applying for memory and compressing data by each data unit after grouping, and finally storing the core data content items as core compressed files.
In one embodiment of the present invention, the memory usage and distribution of the process is obtained by querying maps and smaps information through the process pid, specifically, the memory data distribution of the process is obtained by looking up/proc/$ { pid }/maps and/proc/$ { pid }/smaps information items. .
In one embodiment of the present invention, the query maps information item obtains the total section statistics of the process, and then the query smaps information item obtains the virtual memory and physical memory usage of each section of memory.
In one embodiment of the present invention, the virtual memory and the physical memory usage of each memory segment are obtained, specifically, the Size field is the virtual memory Size of a certain memory segment, and the Rss field is the physical memory Size of a certain memory segment.
In one embodiment of the present invention, the filtering rule is:
and inquiring the authority value of the section aiming at the enumerated multiple dynamic library section information, mapping PROT_NONE, and ignoring the section memory data.
In one embodiment of the present invention, the filtering rule is:
And ignoring the section memory data aiming at the section information of the stack overflow protection area of each sub-thread and the stack space area of the sub-thread of the enumerated target process.
In one embodiment of the present invention, the step S3 specifically includes:
step S31, obtaining the actual residual physical memory size of the current system as a reference value of a large memory application;
s32, carrying out strategy integration and sorting from small to large on each PT_LOAD segment data after data filtering and intercepting;
S33, integrating and grouping the segment data according to the strategy to form a plurality of grouping unit data according to the ordered PT_LOAD segment data;
And step S34, sequentially carrying out physical memory application and data compression function flow on the plurality of group unit data to form final stored data, and then writing the final stored data into the core compressed file.
In one embodiment of the present invention, after compressing each packet data, when each segment of compressed data is stored, a segment identification header is further added, and the information includes a segment ID number and a segment length.
In one embodiment of the present invention, the process pid of the flow of the trigger coredump is obtained specifically as follows:
when the process runs abnormally, an abnormal signal sent by the kernel is received to trigger a signal processing flow, and the pid of the corresponding process is obtained through a struct task_struct structure in the processing flow.
According to another aspect of the present invention, there is also provided a core compressed file generating apparatus, including a data acquiring unit, a data processing unit, a core compressed file generating unit, wherein:
the data acquisition unit is used for acquiring a process pid of the process triggering coredump, and acquiring the memory use and distribution condition of the process by inquiring maps and smaps information through the process pid;
the data processing unit is used for intercepting core data according to the memory use and distribution condition of the process, screening out the section information occupying the physical memory for the obtained target process memory data, filtering the section data not occupying the physical memory, and further judging and filtering the core data content item information to be stored according to a preset filtering rule to obtain a final core data content item to be stored;
The core compressed file generating unit is used for sequentially integrating and grouping the core data content items which are finally stored and obtained after filtering, and each data unit after grouping sequentially carries out memory application and data compression processing and finally stores the core data content items as core compressed files. In general, compared with the prior art, the above technical solution conceived by the present invention has the following beneficial effects:
(1) According to the technical scheme, when the core data is generated by system abnormality, the effective physical memory data to be saved is filtered and intercepted, the saved data items are integrated and grouped, and a plurality of grouping units are used for data compression and then saved as core compressed files, so that occupation of the files to disk space in a system catalog space can be effectively saved, occurrence of system abnormality caused by insufficient disk storage space is reduced, the stability of system operation is improved, and the content of the core files saved after content interception is more targeted, and problem positioning and investigation can be simplified;
(2) According to the technical scheme, the core file data content is effectively cut, the core original file is not required to be generated, the core compressed file is directly generated in the kernel mode, so that the occupied influence on the disk space is greatly relieved, the stability of system operation is improved, the compression rate is effectively improved by integrating and grouping core data content items, the risk of core file generation failure is reduced, and fault problem analysis is simplified for the cut core file.
Drawings
FIG. 1 is a schematic flow chart of a method for generating a core compressed file according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of virtual memory and physical memory usage of a memory segment according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a plurality of dynamic library section information according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of section information of each sub-thread of a target process according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of the ordering grouping of the original core data items in an embodiment of the invention;
fig. 6 is a schematic structural diagram of a core compressed file generating device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. In addition, the technical features of the embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
Aiming at the limitation of the existing core file compression scheme, the invention provides the core compression file generation scheme which can flexibly intercept the content of core data and directly compress the core original data to store the core original data as the core compression file in order to improve the compression rate of the core file and further reduce the requirement on the size of a disk space. Usually, the original data of the core is very large, but a lot of stored memory data belongs to invalid data content, which is not useful for fault problem positioning and occupies too much memory space. Aiming at the situation, a relevant filtering strategy can be formulated to intercept the actually stored core data content, meanwhile, the original core data storage content order is adjusted, the stored original data is recombined, a higher compression rate can be obtained after the processing of a compression algorithm, the occupation influence of the generated core file on the disk space is reduced, the system stability is improved, and the positioning analysis of the problem can be simplified by cutting the stored core data content.
In order to achieve the above object, as shown in fig. 1, an embodiment of the present invention provides a method for generating and managing a core compressed file, including:
step S1, acquiring a process pid of a trigger coredump flow, and acquiring the memory use and distribution condition of the process by inquiring maps and smaps information of the process pid;
coredump the file refers to that when the application program is abnormally exited in the running process due to various exceptions, a core file (core dump file) is generated under certain conditions, and the file content comprises memory information, register states, stack pointers, function call stack information and the like in the running process of the program;
When the process runs abnormally, an abnormal signal sent by the kernel is received to trigger a signal processing flow, and the pid information of the corresponding process is obtained through a struct task_struct structure in the processing flow;
specifically, in the last coredump processing procedure of the signal processing flow, the field information of the query maps and smaps can be accessed through the/proc/$ { pid } interface to obtain the memory use and distribution situation of the process;
Specifically, inquiring maps information items to obtain statistical information of total section segments of a process, inquiring smaps information items to obtain actual physical memory information occupied by each section segment, maps corresponding to virtual address information such as code segments, stack areas, heap areas, dynamic libraries and the like of a certain process, smaps displaying more detailed memory occupied data information of each partition;
maps the information item is used to count the address and size information of the memory segment of the corresponding process, and further query smaps the information item to obtain the virtual memory and physical memory usage of each segment of the memory segment, as shown in fig. 2:
The Size field is the virtual memory Size of a certain memory segment, the Rss field is the physical memory Size of a certain memory segment, the section segment which does not occupy the physical memory (namely, the Rss value is 0) is filtered out when the data interception is carried out according to the Rss field information, and meanwhile, only the section of data which occupies the physical memory (namely, the data Size is the Rss value) is reserved for the stored section segment data information. In the existing core file scheme, all virtual memory data are stored, and when fault information is restored and positioned by using the core file data in actual conditions, useful information is only data information which is currently stored in a physical memory, based on the useful information, firstly, the core data content is firstly and preliminarily intercepted by analyzing the physical memory item information of each memory segment, and only the physical memory item size (corresponding size of Rss) of each memory segment is stored, so that section segment data items which do not occupy the physical memory are filtered;
Step S2, core data interception is carried out according to the memory use and distribution conditions of the process, the obtained memory data of the target process are screened out, section information occupying physical memory is filtered out, section data not occupying physical memory is filtered out, and then the core data content item information to be saved is further judged and filtered according to a preset filtering rule, so that a final core data content item to be saved is obtained;
The invention establishes the following memory data filtering rules, further screens the stored section data, and aims to filter invalid section memory data items (namely, the memory section data content has no influence on fault restoration and positioning and can not be stored in a core file);
Rule 1, as shown in FIG. 3, for the information of the enumerated multiple dynamic library section, inquiring the authority value of the section, mapping PROT_NONE (i.e., - -p authority item), and ignoring the memory data of the section;
Rule 2, as shown in fig. 4, for the section information (stack overflow protection area and stack space area of sub-thread) of each sub-thread of the enumerated target process, the contents of the two section are private to each sub-thread, and the data content item does not affect the analysis and location of fault problems, so that the section memory data is ignored (the process has 3 section data of sub-threads in the illustrated example, and the contents of the two section data can not be saved for all sub-threads of a specific process);
through the filtering conditions of the two items, the data storage items of the core file can be further reduced;
The memory data screening rules in the invention include but are not limited to the above rules, and can further screen data items to be saved according to the core data content to be saved in actual need, for example, data screening is performed by satisfying memory data types (such as anonymous memory, shared memory, large page data memory, etc.) of different situations;
It should be noted that, the core file data structure mainly comprises ELF HEADER, program Headers, PT_NOTE segment and PT_LOAD segment, while the data of the previous three structure segments are not in the memory, and can be obtained and stored according to the existing interface, and the data item processed by the complaint method is PT_LOAD segment data;
and step S3, sequentially integrating and grouping the core data content items which are finally stored and obtained after filtering, sequentially applying for memory and compressing data for each data unit after grouping, and finally storing the data units as core compressed files.
The reason for sequence integration and grouping is that the memory items of the core data are large in general, physical memory cannot be applied for storing all the core data items at one time in kernel processing, memory application storage and data compression processing are required to be carried out according to the data content grouping of each section filtered out, the data content of each section stored is sequenced firstly by sequence integration and grouping processing, and a plurality of section data can be integrated into one group of data, so that the data grouping items are reduced, the data compression storage processing is carried out in each group, and the compression rate of the whole data is improved;
In the process of the invention, the fact that the core original data cannot be applied for memory storage at one time (the physical memory is limited) is considered, and if each piece of PT_LOAD section data is subjected to memory application storage at one time and then data compression is carried out, the data processing efficiency is low, the whole data compression size is not easy to control, based on the situation, the order of the content size of the PT_LOAD section data is preferably ordered once, the PT_LOAD section data storage sequence is recombined, and the ordered PT_LOAD section data are integrated and grouped into a plurality of grouping unit data according to a strategy, so that the combined unit data size is as large as possible and is smaller than the threshold value (free_mem) of the residual physical memory, the whole compression efficiency of the core data is greatly improved after each unit data compression processing, and the stored core compression file is as small as possible.
Therefore, the core data content item can be obtained through the first 2 steps, the core data content item after interception through filtering is greatly reduced, and the integration compression, in particular, the integration compression, is continuously carried out based on the data content item;
Step S31, obtaining the size (free_mem) of the actual residual physical memory of the current system as a reference value of a large memory application;
s32, carrying out strategy integration and sorting from small to large on each PT_LOAD segment data after data filtering and intercepting;
S33, integrating and grouping the segment data according to the strategy to form a plurality of grouping unit data according to the ordered PT_LOAD segment data;
Step S34, a plurality of grouping unit data sequentially carry out physical memory application and data compression function flow to form final stored data, and then the final stored data is written into a core compression file;
As shown in FIG. 5, the original core data item is subjected to a sequence sorting operation from small to large, and then is integrated and grouped into a plurality of grouping units, so that the content size of each unit is smaller than a physical memory threshold (free_mem);
after each piece of compressed data is compressed, a segment identification head is added when each piece of compressed data is stored, the information comprises a segment ID number and a segment length, and the purpose is to analyze the segment identification head to restore core original data when decompression is carried out so as to carry out fault location analysis.
FIG. 6 is a schematic diagram of a core compressed file generating device according to an embodiment of the present invention, including a data obtaining unit, a data processing unit, and a core compressed file generating unit;
the data acquisition unit is used for acquiring a process pid of the process triggering coredump, and acquiring the memory use and distribution condition of the process by inquiring maps and smaps information through the process pid;
the data processing unit is used for intercepting core data according to the memory use and distribution condition of the process, screening out the section information occupying the physical memory for the obtained target process memory data, filtering the section data not occupying the physical memory, and further judging and filtering the core data content item information to be stored according to a preset filtering rule to obtain a final core data content item to be stored;
The core compressed file generating unit is used for sequentially integrating and grouping the core data content items which are finally stored and obtained after filtering, and each data unit after grouping sequentially carries out memory application and data compression processing and finally stores the core data content items as core compressed files.
It will be readily appreciated by those skilled in the art that the foregoing description is merely a preferred embodiment of the invention and is not intended to limit the invention, but any modifications, equivalents, improvements or alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (9)

1. A core compressed file generation method, characterized by comprising the steps of:
S1, acquiring a process pid of a trigger coredump flow, and acquiring the memory use and distribution condition of the process by inquiring maps and smaps information of the process pid;
S2, intercepting the core data according to the memory use and distribution conditions of the process, screening out section information occupying physical memory for the obtained target process memory data, filtering section data not occupying the physical memory, and further judging and filtering the core data content item information to be stored according to a preset filtering rule to obtain a final core data content item to be stored;
The method comprises the steps of S3, sequentially integrating and grouping core data content items to be finally saved after filtering, sequentially performing memory application and data compression processing on all data units after grouping, and finally saving the data units as core compression files, wherein the step S3 comprises the steps of S31, obtaining the actual residual physical memory size of a current system as a reference value of a large memory application, S32, performing strategy integration sorting on all PT_LOAD section data after filtering and intercepting the data, S33, performing section data integration grouping on all PT_LOAD section data after sorting according to strategies to form a plurality of grouping unit data, and S34, sequentially performing physical memory application and data compression function flow on the grouping unit data to form final saved data, and writing the final saved data into the core compression files.
2. The method for generating a core compressed file according to claim 1, wherein the memory usage and distribution of the process is obtained by querying maps and smaps information of the process, specifically, by looking up/proc/$ { pid }/maps and/proc/$ { pid }/smaps information items.
3. The core compressed file generating method according to claim 2, wherein the total section statistics of the process are queried maps for information items, and then queried smaps for information items to obtain virtual memory and physical memory usage for each section of memory.
4. The method for generating core compressed file according to claim 3, wherein the virtual memory and physical memory usage of each memory segment is obtained, specifically, the Size field is the virtual memory Size of a certain memory segment, and the Rss field is the physical memory Size of a certain memory segment.
5. The core compressed file generating method according to claim 1 or 2, wherein the filtering rule is:
and inquiring the authority value of the section aiming at the enumerated multiple dynamic library section information, mapping PROT_NONE, and ignoring the section memory data.
6. The core compressed file generating method according to claim 1 or 2, wherein the filtering rule is:
And ignoring the section memory data aiming at the section information of the stack overflow protection area of each sub-thread and the stack space area of the sub-thread of the enumerated target process.
7. The core compressed file generating method according to claim 1, wherein after compressing each packet data, a segment identification header is added when each segment of compressed data is stored, and the information includes a segment ID number and a segment length.
8. The core compressed file generating method according to claim 1, wherein the acquiring triggers a process pid of coredump flow, specifically:
when the process runs abnormally, an abnormal signal sent by the kernel is received to trigger a signal processing flow, and the pid of the corresponding process is obtained through a struct task_struct structure in the processing flow.
9. A core compressed file generating device, which is characterized by comprising a data acquisition unit, a data processing unit and a core compressed file generating unit, wherein:
the data acquisition unit is used for acquiring a process pid of the process triggering coredump, and acquiring the memory use and distribution condition of the process by inquiring maps and smaps information through the process pid;
the data processing unit is used for intercepting core data according to the memory use and distribution condition of the process, screening out the section information occupying the physical memory for the obtained target process memory data, filtering the section data not occupying the physical memory, and further judging and filtering the core data content item information to be stored according to a preset filtering rule to obtain a final core data content item to be stored;
The core compressed file generating unit is used for sequentially integrating and grouping core data content items to be finally saved after filtering, sequentially carrying out memory application and data compression processing on the data units after grouping, and finally saving the data units as core compressed files, and concretely comprises the steps of obtaining the actual residual physical memory size of a current system as a reference value of a large memory application, carrying out strategy integration sorting on PT_LOAD section data after filtering and intercepting the data, carrying out section data integration grouping on the PT_LOAD section data after sorting according to strategies to form a plurality of grouping unit data, and sequentially carrying out physical memory application and data compression function flow on the grouping unit data to form final saved data, and then writing the final saved data into the core compressed files.
CN202210299210.XA 2022-03-25 2022-03-25 Method and device for generating core compressed file Active CN114968632B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210299210.XA CN114968632B (en) 2022-03-25 2022-03-25 Method and device for generating core compressed file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210299210.XA CN114968632B (en) 2022-03-25 2022-03-25 Method and device for generating core compressed file

Publications (2)

Publication Number Publication Date
CN114968632A CN114968632A (en) 2022-08-30
CN114968632B true CN114968632B (en) 2025-09-19

Family

ID=82975555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210299210.XA Active CN114968632B (en) 2022-03-25 2022-03-25 Method and device for generating core compressed file

Country Status (1)

Country Link
CN (1) CN114968632B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110928720A (en) * 2020-02-10 2020-03-27 北京安博通科技股份有限公司 Core dump file generation method and device based on Linux system
CN111611145A (en) * 2020-05-29 2020-09-01 北京字节跳动网络技术有限公司 Breakdown information collection method and device, storage medium and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5659798A (en) * 1996-02-02 1997-08-19 Blumrich; Matthias Augustin Method and system for initiating and loading DMA controller registers by using user-level programs
US7321982B2 (en) * 2004-01-26 2008-01-22 Network Appliance, Inc. System and method for takeover of partner resources in conjunction with coredump
CN108874448B (en) * 2017-05-09 2021-10-08 阿里巴巴集团控股有限公司 Method and equipment for positioning object in coredump file
CN111240765B (en) * 2020-01-15 2023-02-03 深圳英飞拓智能技术有限公司 LINUX compression application program loading method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110928720A (en) * 2020-02-10 2020-03-27 北京安博通科技股份有限公司 Core dump file generation method and device based on Linux system
CN111611145A (en) * 2020-05-29 2020-09-01 北京字节跳动网络技术有限公司 Breakdown information collection method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN114968632A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
CN108874624B (en) Server, method for monitoring Java process and storage medium
US8214599B2 (en) Storage device prefetch system using directed graph clusters
JP5211751B2 (en) Calculator, dump program and dump method
US8397048B2 (en) Memory leak detection during dynamic memory allocation
CN109981702B (en) File storage method and system
CN110647447B (en) Abnormal instance detection method, device, equipment and medium for distributed system
CN110764705B (en) Data reading and writing method, device, equipment and storage medium
US8010834B2 (en) Failure information monitoring apparatus and failure information monitoring method
CN116340095A (en) Efficient and simple micro-service monitoring and alarming method and system
JPH08241250A (en) System for decision of actual working set
CN114218303A (en) Transaction data processing system, processing method, medium and equipment
CN117312051A (en) File backup method, device, equipment and storage medium
CN114968632B (en) Method and device for generating core compressed file
CN116860662A (en) Identification method of cold and hot memory pages, memory recycling method and related equipment thereof
CN110084476B (en) Case adjustment method, device, computer equipment and storage medium
CN111488323A (en) Data processing method and device and electronic equipment
CN112347059B (en) Storage system data reduction service log management method and related components
CN112732640B (en) Method and device for detecting leakage of file descriptor
CN119517143A (en) A solid state hard disk performance stability testing method, system and medium
CN116881051B (en) Data backup and recovery method and device, electronic equipment and storage medium
US7680921B2 (en) Management system, management computer, managed computer, management method and program
CN104572751A (en) Compression storage method and system for calling center sound recording files
CN117555766A (en) Memory problem positioning method and device in server performance test
CN113806119A (en) Memory card processing method, device, equipment and storage medium
CN117743307A (en) Data cleaning method, device and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant