JPH03125237A - Memory dump collection system - Google Patents

Memory dump collection system

Info

Publication number
JPH03125237A
JPH03125237A JP1262229A JP26222989A JPH03125237A JP H03125237 A JPH03125237 A JP H03125237A JP 1262229 A JP1262229 A JP 1262229A JP 26222989 A JP26222989 A JP 26222989A JP H03125237 A JPH03125237 A JP H03125237A
Authority
JP
Japan
Prior art keywords
memory
memory dump
area
dump
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.)
Pending
Application number
JP1262229A
Other languages
Japanese (ja)
Inventor
Tetsuo Sano
佐野 徹夫
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP1262229A priority Critical patent/JPH03125237A/en
Publication of JPH03125237A publication Critical patent/JPH03125237A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the time required for restart of a memory dump collection system by performing the greater part of a memory dump collection process to be carried out at the end of the system abnormality in parallel with other processes after the system is restarted. CONSTITUTION:A 1st memory dump collection means 1 writes the contents of a memory area 61 of a memory 6 which has the capacity necessary for a system restart process into an area 71 of a memory dump collection file 7. At the same time, a 2nd memory dump collection means 3 writes the contents of the other memory area 62 of the memory 6 into an area 72 of the file 7 respectively. The succession information 4 and the memory state information 5 are stored in the memory 6. A memory state initialization means 2 and the means 3 refer to the information 4 set by the means 1. Then the information 5 which is initialized by the means 2 is updated by the means 3. In such a constitution, the time required for restart of a memory dump collection system is shortened at the end of the system abnormality.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、計算機システムにおけるシステム異常終了時
のメモリダンプ収集方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory dump collection method when a computer system terminates abnormally.

〔従来の技術〕[Conventional technology]

一般に、計算機システムにおいては、OS(、tペレー
ティングシステム)がシステム異常全検出した際、シス
テム異常原因解析のための資料としてメモリダンプを収
集した後、システム再立ち上げが行われる。従来のシス
テム異常終了時のメモリダンプ収集においては、以下の
ような方式がとられている。
Generally, in a computer system, when the OS (operating system) detects a system abnormality, the system is restarted after collecting a memory dump as data for analyzing the cause of the system abnormality. Conventionally, the following method is used to collect a memory dump when a system terminates abnormally.

(1)仮想記憶の全メモリイメー・ゾ(主記憶上に存在
しない仮想ページも含めて)を収集する。
(1) Collect all memory images of virtual memory (including virtual pages that do not exist on main memory).

(2)主記憶の全メモリイメージを収集する。(2) Collect all memory images of main memory.

−〔発明が解決しようとする課題〕 上述した従来技術の(2)では、システム異常終了原因
の解析において、主記憶上に存在しない仮想ページのイ
メージは不要である可能性が高いことを利用して、メモ
リダンプ収集量を削減したものである。しかし、計算機
システムの大規模化に伴い、実装される主記憶もさらに
大容量になってきていることから、この方式によっても
、メモリダンプ収集のためにシステム異常終了時のシス
テム再立上げが遅延するという問題点がある。
- [Problem to be solved by the invention] In (2) of the prior art described above, in analyzing the cause of abnormal system termination, it is possible to utilize the fact that there is a high possibility that images of virtual pages that do not exist in main memory are unnecessary. This reduces the amount of memory dump collection. However, as computer systems become larger in scale, the installed main memory is also becoming larger in capacity, so even with this method, restarting the system after an abnormal system termination is delayed due to memory dump collection. There is a problem with that.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のメモリダンプ収集方式は、計算機システムにお
けるシステム異常終了時のメモリダンプ収集の際に用い
られ、システム異常終了発生時に。
The memory dump collection method of the present invention is used when collecting a memory dump when the system terminates abnormally in a computer system, and when the system terminates abnormally.

システム再立上げ処理に必要な量のメモリ領域について
メモリダンプを収集し、メモリダンプ収集済みのメモリ
領域およびメモリダンプ収集ファイル領域を示す情報を
引継ぎ情報として記憶する第1メモリダンプ手段と、シ
ステム異常終了後のシステム再立上げ処理の際、前記第
1メモリダンプ手段によシ記録された引継ぎ情報を基に
、メモリダンプ収集済みのメモリ領域については使用可
能状態に、メモリダンプ未収集のメモリ領域については
使用不可状態にメモリ使用状態を初期化するメモリ使用
状報初期化手段と、システム再立上げ処理完了後、前記
第1メモリダンプ手段により記録された引継ぎ情報を基
に、メモリダンプ未収集のメモリ領域についてメモリメ
モリダンプ未収集のメモリ使用状態を前記メモリ使用状
態初期化手段により設定された使用不可状態から使用可
能状態に変更する第2メモリダンプ手段とを有している
ことを特徴としている。
a first memory dump means that collects a memory dump for an amount of memory area necessary for system restart processing, and stores information indicating a memory area where the memory dump has been collected and a memory dump collection file area as inheritance information; and a system abnormality. When restarting the system after completion of the process, based on the takeover information recorded by the first memory dump means, the memory areas for which memory dumps have been collected are made available for use, and the memory areas for which memory dumps have not been collected are made available. , the memory usage status initialization means initializes the memory usage state to an unusable state, and after the system restart process is completed, the memory dump is not collected based on the takeover information recorded by the first memory dumping means. and a second memory dump means for changing the memory use state for which a memory dump has not been collected for the memory area from the unusable state set by the memory use state initializing means to the usable state. There is.

〔実施例〕〔Example〕

以下2本発明について実施例によって説明する。 Two examples of the present invention will be described below.

第1図を参照して2本発明によるメモリダンプ収集方式
は、第1メモリダンプ収集手段1と、メモリ状態初期化
手段2と、第2メモリダンプ収集手段3と、引継ぎ情報
4と、メモリ状態情報5とを備えている。第1メモリダ
ンプ収集手段1はメモリ6内のシステム再立上げ処理に
必要な量のメモリ領域61の内容を、第2メモリダンプ
収集手段3はメモリ6内の残シのメモリ領域62の内容
を、それぞれメモリダンプ収集ファイル7内の領域71
.72に書込む。引継ぎ情報4およびメモリ状態情報5
はメモリ6内に存在し、第1メモリダンプ収集手段1に
よシ設定される引継ぎ情報4はメモリ状態初期化手段2
および第2メモリダンプ手段3によシ参照され、また、
メモリ状態初期化手段2によシ初期設定されるメモリ状
態情報5は、第2メモリダンプ手段3によシ更新される
Referring to FIG. 1, the memory dump collection method according to the present invention includes a first memory dump collection means 1, a memory state initialization means 2, a second memory dump collection means 3, takeover information 4, and a memory state. Information 5 is provided. The first memory dump collection means 1 collects the contents of the memory area 61 in the memory 6 in an amount necessary for system restart processing, and the second memory dump collection means 3 collects the contents of the remaining memory area 62 in the memory 6. , area 71 in memory dump collection file 7, respectively.
.. Write to 72. Handover information 4 and memory status information 5
exists in the memory 6, and the takeover information 4 set by the first memory dump collection means 1 is stored in the memory state initialization means 2.
and is referenced by the second memory dump means 3, and
The memory state information 5 initialized by the memory state initialization means 2 is updated by the second memory dump means 3.

本実施例においては、メモリダンプ収集ファイル7は志
気ディスク装置上のファイルとするが。
In this embodiment, the memory dump collection file 7 is assumed to be a file on the Shiki disk device.

磁気テープ等の他の媒体上に収集するように実施するこ
とも可能である。
It is also possible to implement collection on other media such as magnetic tape.

第2図も参照して1図中の6−a〜6−fはメモリダン
プ動作中のある時点でのメモリ6内の使用状態を示す。
Referring also to FIG. 2, 6-a to 6-f in FIG. 1 show the usage state in the memory 6 at a certain point in time during the memory dump operation.

また1図中の斜線部分は、システム異常終了時点でメモ
リイメージが残っている状態を示す。
Furthermore, the shaded area in FIG. 1 indicates the state in which the memory image remains at the time of abnormal system termination.

O8がシステム異常を検出した場合、第1メモリダンプ
収集手段1に制御が渡る。第1メモリダンプ収集手段1
は、メモリダンプ収集ファイル領域71へ。
When the O8 detects a system abnormality, control is passed to the first memory dump collection means 1. First memory dump collection means 1
to the memory dump collection file area 71.

システム再立上げ処理に必要な量のメモリ領域61につ
いてのみメモリダンプ収集を行う。この時点では。
Memory dump collection is performed only for the amount of memory area 61 necessary for system restart processing. At this point.

システム異常終了時のメモリ状態は(第1メモリダンプ
収集手段1がメモリダンプ収集に使用したメモリ領域を
除き)すべて保存されている(メモリ状態は第2図6−
8)。第1メモリダンプ収集手段lは。
The memory state at the time of abnormal system termination (except for the memory area used by the first memory dump collection means 1 to collect the memory dump) is all preserved (the memory state is shown in Figure 2-6).
8). The first memory dump collecting means l is.

次に、メモリ領域61を示す情報(開始メモリアドレス
、終了メモリアドレス)およびファイル領域71を示す
情報(開始ファイルアドレス、終了7アイルアドレス)
をメモリ領域61内に確保した引継ぎ情報領域4に書き
込み、最後に、システム再立上げ処理プログラムをメモ
リ領域61内にロードし、制御を渡す(メモリ状態は第
2図6−b)。メモリ領域61のメモリ量はメモリ6全
体のメモリ量に比べて非常に小さいので、従来技術に比
べて高速にシステム再立上げ処理への制御移行が行われ
る。
Next, information indicating the memory area 61 (starting memory address, ending memory address) and information indicating the file area 71 (starting file address, ending 7 isle address)
is written in the takeover information area 4 secured in the memory area 61, and finally, the system restart processing program is loaded into the memory area 61 and control is transferred (the memory state is shown in FIG. 6-b in FIG. 2). Since the amount of memory in the memory area 61 is very small compared to the amount of memory in the entire memory 6, control is transferred to system restart processing faster than in the prior art.

システム再立上げ処理プログラムは、O8本体が動作可
能状態となるまでの初期化処理(OS制御テーブルの再
作成、os制御ファイルのりカバリ、システムプロセス
の起動等)を行うが、この処理の一部としてメモリ状態
初期化手段2によりメモリ状態情報5の再作成が行われ
る。ここで、メモリ状態情報5は。
The system restart processing program performs initialization processing (re-creation of the OS control table, OS control file recovery, startup of system processes, etc.) until the O8 main unit is ready for operation, but some of this processing is As a result, the memory state information 5 is recreated by the memory state initializing means 2. Here, the memory state information 5 is.

メモリ6内の各ページ(実メモリページ)の状態を管理
するテーブルであって、各4−ノについて使用可/不可
を示す情報を有する。メモリ状態初期化手段2は引継ぎ
情報4内のメモリダンプ収集済みメモリ領域情報を参照
し、メモリ領域61に属するに一部は使用可能状態、メ
モリ領域62に属するページは使用不可状態としてメモ
リ状態情報5を初期化する。ただし、システム再立上げ
プログラム自身のメモリ領域、引継ぎ情報4およびメモ
リ状態情報5のメモリ領域については、メモリ領域61
内に存在するが、すでに使用中であるので、該当ページ
は使用不可状態に変更される(メモリ使用状態は第2図
6−c)、。
This is a table that manages the status of each page (real memory page) in the memory 6, and has information indicating whether each page (4-) can be used or not. The memory state initialization means 2 refers to the memory dump collected memory area information in the handover information 4, and sets the memory state information such that some pages belonging to the memory area 61 are in a usable state and pages belonging to the memory area 62 are in an unusable state. Initialize 5. However, regarding the memory area of the system restart program itself, the memory area of the takeover information 4, and the memory status information 5, the memory area 61
However, since it is already in use, the corresponding page is changed to an unusable state (memory usage state is shown in FIG. 2, 6-c).

以後、システム再立上げ処理の過程で再作成されるO8
制御テーブルのメモリ領域はメモリ状態情報5を基に割
当てが行われる(必然的に、メモリ領域61内に割り当
てられることになる)。システム再立上げプログラムは
、最後に、システムプロセス群の起動を行うとともに、
システム再立上げ処理プログラム自身のメモリ領域の解
放を行う(メモリ使用状態は第2図6−d)。
After that, O8 will be re-created during the system restart process.
The memory area of the control table is allocated based on the memory state information 5 (inevitably, it is allocated within the memory area 61). Finally, the system restart program starts the system processes and
The memory area of the system restart processing program itself is released (memory usage status is shown in FIG. 2, 6-d).

第2メモリダンノ収集手段3は、システムプロセスの1
つとして起動される。この時点では、メモリダンプ未収
集の領域62のメモリ内容はシステム異常終了時の状態
のまま保存されており、他の処理と並行して残りのメモ
リダンプ収集処理を行うことができる。第2メモリダン
プ収集手段3は、引継ぎ情報4内のメモリダンプ収集済
みのメモリ領域情報およびファイル領域情報を参照して
The second memory data collecting means 3 is one of the system processes.
It is started as one. At this point, the memory contents of the memory dump uncollected area 62 are preserved as they were at the time of system abnormal termination, and the remaining memory dump collection processing can be performed in parallel with other processing. The second memory dump collecting means 3 refers to the memory area information and file area information of which the memory dump has been collected in the handover information 4.

メモリ領域62についてファイル領域72ヘメモリダン
プ収集を行う。メモリダンプ収集が完了したメモリ領域
については、全メモリダンプ収集の完了を待たずに、随
時、メモリ状態情報5上で使用可能状態への変更が行わ
れる(メモリ使用状態は第2図6−eから6−fに移行
)。
A memory dump is collected from the memory area 62 to the file area 72. For memory areas for which memory dump collection has been completed, the change to the usable state is performed on the memory status information 5 at any time without waiting for the completion of all memory dump collection (memory usage status is shown in Figure 2, 6-e). to 6-f).

〔発明の効果〕〔Effect of the invention〕

以上説明したように1本発明では、システム異常終了時
のメモリダンプ収集処理の大部分をシステム再立上げ後
に他の処理と並行して行うことができるため、システム
異常終了時のシステム再立上げに要する時間を大幅に短
縮することが可能となる。
As explained above, in the present invention, most of the memory dump collection processing when the system terminates abnormally can be performed in parallel with other processing after restarting the system. This makes it possible to significantly reduce the time required.

第 1 図Figure 1

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例の構成を示すブロック図、第2
図は本実施例の動作説明のだめの図である。 1・・・第1メモリダンプ収集手段、2・・・メモリ状
態初期化手段、3・・・第2メモリダング収集手段。 4・・・引継ぎ情報、5・・・メモリ状態情報、6・・
・メモリ、7・・・メモリダンプ収集フアイル、61お
よび62・・・メモリ6の一部領域、71および72・
・・メ東 2 1−一一一一一」
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG.
The figure is a diagram for explaining the operation of this embodiment. 1... First memory dump collection means, 2... Memory state initialization means, 3... Second memory dump collection means. 4... Handover information, 5... Memory status information, 6...
・Memory, 7...Memory dump collection file, 61 and 62...Partial area of memory 6, 71 and 72.
・Me East 2 1-1111”

Claims (1)

【特許請求の範囲】 1、計算機システムにおけるシステム異常終了時のメモ
リダンプ収集を行う際に用いられ、システム異常終了発
生時に、システム再立上げ処理に必要な量のメモリ領域
についてメモリダンプを収集し、メモリダンプ収集済み
のメモリ領域およびメモリダンプ収集ファイル領域を示
す情報を引継ぎ情報として記録する第1メモリダンプ手
段と、システム異常終了後のシステム再立上げ処理の際
前記第1メモリダンプ手段により記録された引継ぎ情報
を基に、メモリダンプ収集済みのメモリ領域については
使用可能状態に、メモリダンプ未収集のメモリ領域につ
いては使用不可状態にメモリ使用状態を初期化するメモ
リ使用状態初期化手段と、システム再立上げ処理完了の
際、前記第1メモリダンプ手段により記録された引継ぎ
情報を基に、メモリダンプ未収集のメモリ領域について
メモリダンプを収集し、該領域のメモリ使用状態を使用
不可状態から使用可能状態に変更する第2メモリダンプ
手段 とを有することを特徴とするメモリダンプ収集方式。
[Claims] 1. Used when collecting a memory dump when the system terminates abnormally in a computer system, and when the abnormal system termination occurs, the memory dump is collected for the amount of memory area necessary for system restart processing. , a first memory dump means for recording information indicating the memory area where the memory dump has been collected and the memory dump collection file area as inheritance information; and recording by the first memory dump means during system restart processing after abnormal system termination. memory usage state initializing means for initializing the memory usage state of a memory area for which a memory dump has been collected to a usable state and for a memory area for which a memory dump has not been collected to an unusable state based on the inherited information; When the system restart process is completed, a memory dump is collected for the memory area for which no memory dump has been collected based on the takeover information recorded by the first memory dump means, and the memory usage state of the area is changed from the unusable state. A memory dump collection method comprising: a second memory dump means for changing the memory to a usable state.
JP1262229A 1989-10-09 1989-10-09 Memory dump collection system Pending JPH03125237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1262229A JPH03125237A (en) 1989-10-09 1989-10-09 Memory dump collection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1262229A JPH03125237A (en) 1989-10-09 1989-10-09 Memory dump collection system

Publications (1)

Publication Number Publication Date
JPH03125237A true JPH03125237A (en) 1991-05-28

Family

ID=17372871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1262229A Pending JPH03125237A (en) 1989-10-09 1989-10-09 Memory dump collection system

Country Status (1)

Country Link
JP (1) JPH03125237A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0581089A (en) * 1991-09-19 1993-04-02 Tokyo Electric Co Ltd Electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0581089A (en) * 1991-09-19 1993-04-02 Tokyo Electric Co Ltd Electronic equipment

Similar Documents

Publication Publication Date Title
JP2718031B2 (en) History information acquisition method
JP3260923B2 (en) Backup control apparatus and method for data processing system
JP5260802B2 (en) Method, system, and computer program product for operating a copy function
US7693885B2 (en) Computer system, management computer, storage system, and backup management method
JP4078039B2 (en) Snapshot image generation management method and generation management device
JP3197403B2 (en) Control method of computer system when application program failure occurs
US7330947B2 (en) Method and apparatus for backing up data in virtual storage medium
JP2005301497A (en) Storage management system, restoration method and its program
JP3785074B2 (en) Data processing system backup control apparatus and method
JPH0423144A (en) Journal system
JP2006134217A (en) Library system, virtual library apparatus and cache recovery method
JP2007004788A (en) Method and system for providing interleaved backup
JPH04322378A (en) File storing method for electronic printing system having a plurality of disks
CN112882859A (en) Virtual machine synthetic backup method and system
JPH03125237A (en) Memory dump collection system
JP2006172100A (en) High-speed changeover method for operating system and method therefor
JPS62224843A (en) Database medium content maintaining system
JP2010152781A (en) Backup server device, backup/restore program, and backup/restore method
JPH09152983A (en) Reentrant garbage collection processing in file system immanent in flash memory
JPS5938930A (en) Optical disk controller
JPH03257641A (en) Memory dump sampling system
TWI693550B (en) Backup method for supporting multi-dsik architecture of virtual machine
JPH04184641A (en) Data base restoring system
WO2000077645A1 (en) Method for recovering a database provided with disk back-up
JPH03125236A (en) Memory dump collection system