JPH07210428A - Memory dump sampling system - Google Patents

Memory dump sampling system

Info

Publication number
JPH07210428A
JPH07210428A JP6005807A JP580794A JPH07210428A JP H07210428 A JPH07210428 A JP H07210428A JP 6005807 A JP6005807 A JP 6005807A JP 580794 A JP580794 A JP 580794A JP H07210428 A JPH07210428 A JP H07210428A
Authority
JP
Japan
Prior art keywords
file
memory
flag
dump
processing
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
JP6005807A
Other languages
Japanese (ja)
Inventor
Makoto Karasuda
誠 烏田
Fujio Kodate
富士雄 小舘
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP6005807A priority Critical patent/JPH07210428A/en
Publication of JPH07210428A publication Critical patent/JPH07210428A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a memory dump sampling system capable of stopping a system at the time of detecting abnormality by the system, and after sampling memory dump, quickly restarting the system. CONSTITUTION:When the system detects abnormality disabling operation during the period of operation, control is transferred to system stopping processing 20, system stopping processing is executed, the information of the abnormality disabling the operation is collected and then control is transferred to a memory dump sampling processing. Real memory sampling processing 21 outputs a real memory 16 to a dump file 12, and after outputting the memory 16 to the file 12, flag setting processing 22 sets up a flag 15 indicating the preparation of a new page file 14 in a system starting information file 11 stored in a system disk 10 and transfers control to system starting processing. Flag reference processing 23 reads out the flag 15. When the flag 15 indicates the generation of the file 14 page file generating processing 24 generates the file 14 and starts the system.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、メモリダンプ採取方式
に係り、特に、ページファイル内の仮想メモリを退避す
る処理に使用して好適なメモリダンプ採取方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory dump collecting method, and more particularly to a memory dump collecting method suitable for use in a process of saving virtual memory in a page file.

【0002】[0002]

【従来の技術】一般に、計算機システムにおいて、シス
テムが運転不可能な異常を検知した場合、その原因を調
査するために、実メモリと仮想メモリの内容とを退避す
るメモリダンプ処理が行われている。この種のメモリダ
ンプ採取処理に関する従来技術として、例えば、特開昭
64−76237号公報等に記載された技術が知られて
いる。
2. Description of the Related Art Generally, in a computer system, when an abnormal operation of the system is detected, a memory dump process for saving the contents of the real memory and the virtual memory is performed to investigate the cause. . As a conventional technique related to this type of memory dump collection processing, for example, a technique described in Japanese Patent Laid-Open No. 64-76237 is known.

【0003】この従来技術は、システム停止時のメモリ
ダンプ採取時に、実メモリとページアウトされたページ
を管理するページ管理簿とを退避し、システム立ち上げ
中に退避したページ管理簿に従ってページファイル中の
使用禁止ページをページ管理簿に設定してページファイ
ル中の仮想メモリを保存する処理を行うことにより、シ
ステムの早期立ち上げを行うようにするというものであ
る。
According to this conventional technique, the actual memory and the page management list for managing paged-out pages are saved when a memory dump is collected when the system is stopped, and the page file is saved according to the page management list saved during system startup. Is set to the page management list to save the virtual memory in the page file so that the system can be started up early.

【0004】そして、ページファイル中の使用禁止ペー
ジは、ページアウトされたページを採取した後に、ペー
ジ管理簿の使用禁止フラグが解除され、システムの再立
ち上げ後に使用可能とされるようになっている。
The use-prohibited page in the page file is made available after the system is restarted after the use-prohibited flag in the page management book is cleared after the page-out page is collected. There is.

【0005】[0005]

【発明が解決しようとする課題】前記従来技術は、シス
テム立ち上げ後に業務と並行してページアウトされたペ
ージの内容を退避しなければならず、また、ダンプを採
取するまで使用可能なページファイルのページ数が少な
くなっているため、業務を行うために必要なメモリが不
足し、業務を縮小してシステムの運転を行わなければな
らないという問題点を有している。
In the above-mentioned conventional technique, the contents of the page paged out must be saved in parallel with the work after the system is started up, and the page file can be used until a dump is collected. Since the number of pages is small, there is a problem that the memory required for carrying out the work is insufficient and the work must be reduced to operate the system.

【0006】本発明の目的は、前記従来技術の問題点を
解決し、使用していたページファイルをダンプファイル
として保存し、システム立ち上げ後にページアウトされ
たページの退避を不要とし、システムの運転に必要なサ
イズのページファイルを自動的に作成し、システムの運
転再開に支障をきすことのないようにすると共に、シス
テム再立ち上げまでの時間を短縮することのできるメモ
リダンプ採取方式を提供することにある。
An object of the present invention is to solve the above-mentioned problems of the prior art, save the used page file as a dump file, eliminate the need to save pages paged out after the system is started, and operate the system. A page dump file of the required size is automatically created so that it does not hinder the system restart, and a memory dump collection method that can shorten the time until the system restarts is provided. Especially.

【0007】[0007]

【課題を解決するための手段】本発明によれば前記目的
は、システム立ち上げ時にページファイルを新たに作成
し、旧ページファイルをダンプファイルとして保存する
ようにすることにより達成される。
According to the present invention, the above object is achieved by newly creating a page file at system startup and saving an old page file as a dump file.

【0008】すなわち、前記目的は、システムディスク
等の外部記憶装置内にシステム立ち上げ情報ファイルを
設けると共に、このシステム立ち上げ情報ファイルにペ
ージファイルを新たに作成するフラグを設け、メモリダ
ンプ採取処理時に、実メモリのみをダンプファイルに退
避すると共にページファイルを新たに作成するフラグを
設定し、システム立ち上げ処理時に、ページファイルを
新たに作成するフラグを参照して、ページファイルを新
たに割り当てるようにすることにより達成される。
That is, the purpose is to provide a system start-up information file in an external storage device such as a system disk and a flag for newly creating a page file in the system start-up information file, so that a memory dump collection process is performed. Set a flag to save only the real memory to a dump file and create a new page file, and refer to the flag to create a new page file at system startup processing to allocate a new page file. It is achieved by

【0009】[0009]

【作用】計算機システムの運転中、システムが運転不可
能な異常を検知すると、システムは、その制御をシステ
ム停止処理に渡し、このシステム停止処理において、実
メモリのみをダンプファイルに退避し、システム立ち上
げ情報ファイル中のページファイル作成フラグを設定す
る。次に、システムは、その制御をシステム立ち上げ処
理に渡し、このシステム立ち上げ処理において、システ
ム立ち上げ情報ファイルのページファイル作成フラグを
参照し、このフラグが設定されている場合にページファ
イルを新たに作成する。
When the computer detects an abnormality in which the system cannot operate during operation of the computer system, the system passes its control to the system stop processing, and in this system stop processing, only the real memory is saved in the dump file and the system is started. Set the page file creation flag in the upload information file. Next, the system passes the control to the system startup processing, and in this system startup processing, it refers to the page file creation flag of the system startup information file, and if this flag is set, it creates a new page file. To create.

【0010】これにより、ページファイルをそのままダ
ンプファイルとして保存することができるので、システ
ム停止前のページファイル内の仮想メモリを保存するこ
とができる。
As a result, the page file can be saved as a dump file as it is, and the virtual memory in the page file before the system is stopped can be saved.

【0011】[0011]

【実施例】以下、本発明によるメモリダンプ採取方式の
一実施例を図面により詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a memory dump collecting system according to the present invention will be described in detail below with reference to the drawings.

【0012】図1は本発明の一実施例によるメモリダン
プ採取方式の構成と動作とを説明する図、図2は本発明
の一実施例による処理時間を従来技術の場合と比較して
説明するタイムチャートである。図1において、10は
システムディスク、11はシステム立ち上げ情報ファイ
ル、12はダンプファイル、13はページファイル、1
4は新ページファイル、15はページファイル新規作成
フラグ、16は実メモリである。
FIG. 1 is a diagram for explaining the configuration and operation of a memory dump collecting system according to an embodiment of the present invention, and FIG. 2 is a diagram for explaining the processing time according to one embodiment of the present invention in comparison with the case of the prior art. It is a time chart. In FIG. 1, 10 is a system disk, 11 is a system startup information file, 12 is a dump file, 13 is a page file, 1
Reference numeral 4 is a new page file, 15 is a new page file creation flag, and 16 is an actual memory.

【0013】本発明が適用される計算機システムは、図
1に示す実メモリ16と、外部記憶装置であるシステム
ディスク10と、図示しない処理装置とにより構成され
る。システムディスク10内には、システム立ち上げ情
報ファイル11、実メモリを退避するダンプファイル1
2、及び、仮想メモリを保存するページファイル13が
設けられている。そして、システム立ち上げ情報ファイ
ル11には、ページファイルを新たに作成することを指
示するフラグ15が設けられる。
A computer system to which the present invention is applied comprises a real memory 16 shown in FIG. 1, a system disk 10 which is an external storage device, and a processing device (not shown). The system startup information file 11 and the dump file 1 for saving the actual memory are stored in the system disk 10.
2 and a page file 13 for storing the virtual memory are provided. Then, the system startup information file 11 is provided with a flag 15 for instructing to newly create a page file.

【0014】前述のように構成される計算機システムの
運転中に、システムが運転不可能な異常を検知した場
合、システムは、システム停止処理(ステップ20)に
制御を渡してシステム停止処理を行わせ、運転不可能な
異常の情報を収集し、メモリダンプ採取処理に制御を渡
す。
During operation of the computer system having the above-described structure, when the system detects an inoperable abnormality, the system passes control to the system stop processing (step 20) to execute the system stop processing. , Collects information on abnormal operation and passes control to the memory dump collection process.

【0015】メモリダンプ採取処理は、実メモリ採取処
理(ステップ21)とフラグ設定処理(ステップ22)
とにより構成されている。ステップ21の実メモリ採取
処理は、実メモリ16の内容のみをシステムディスク1
0内のダンプファイル12に出力する処理を実行する。
また、ステップ22のフラグ設定処理は、実メモリ16
の内容をダンプファイル12に出力後、システムディス
ク10内に設けられているシステム立ち上げ情報ファイ
ル11に新ページファイル14を作成することを示すフ
ラグ15を設定する処理を実行する。その後、制御は、
システムを立ち上げ処理に渡される。
The memory dump collecting process includes an actual memory collecting process (step 21) and a flag setting process (step 22).
It is composed of and. In the real memory sampling process of step 21, only the contents of the real memory 16 are stored in the system disk 1
The process of outputting to the dump file 12 in 0 is executed.
In addition, the flag setting process of step 22 is performed by the real memory 16
After outputting the contents of the above to the dump file 12, the process of setting the flag 15 indicating that the new page file 14 is created in the system startup information file 11 provided in the system disk 10 is executed. Then control is
The system is brought up for processing.

【0016】システム立ち上げ処理は、フラグ参照処理
(ステップ23)とページファイル作成処理(ステップ
24)とにより構成されている。ステップ23のフラグ
参照処理は、システム立ち上げ情報ファイル11内のペ
ージファイルを新たに作成することを示すフラグ15を
読み込み、新ページファイル14を作成することを示す
フラグ15が設定されているか否かを判定する処理を実
行する。この判定で、フラグ15が新ページファイル1
4を作成することを示している場合、ステップ24のペ
ージファイル作成処理24は、新ページファイル14を
作成する処理を実行する。その後、制御は、システム立
ち上げ処理に渡され、システムが立ち上げられる。
The system start-up process is composed of a flag reference process (step 23) and a page file creation process (step 24). In the flag reference processing of step 23, whether or not the flag 15 indicating that the page file in the system startup information file 11 is newly created is read and the flag 15 indicating that the new page file 14 is created is set. The process of determining is executed. In this determination, the flag 15 is the new page file 1
4 indicates that the new page file 14 is created, the page file creation process 24 of step 24 executes the process of creating the new page file 14. Thereafter, control is passed to the system start-up process, and the system is started up.

【0017】前述の処理動作において、システムディス
ク10内においてシステム停止前に使用されていた旧ペ
ージファイル13は、システムの再立ち上げ後に使用さ
れることがなく、ダンプファイルとして保存されること
になる。
In the above-described processing operation, the old page file 13 used in the system disk 10 before the system is stopped is not used after the system is restarted and is saved as a dump file. .

【0018】前述した本発明の一実施例におけるシステ
ムの停止からシステムの再立ち上げまでの処理時間は、
図2に示すように、システム停止処理時間30+実メモ
リ退避時間31+フラグ設定時間35+フラグ参照時間
36+ページファイル作成時間37+システム立ち上げ
処理時間34である。この総処理時間は、従来の仮想メ
モリページファイルの読み込み時間32+ダンプファイ
ルへの書き込み時間33に対して、本発明の実施例にお
けるフラグ設定時間35+フラグ参照時間36+ページ
ファイル作成時間37がごくわずかな時間となるため、
従来技術に比較して極めて小さな時間となる。
The processing time from the stop of the system to the restart of the system in the above-described embodiment of the present invention is
As shown in FIG. 2, system stop processing time 30 + actual memory save time 31 + flag setting time 35 + flag reference time 36 + page file creation time 37 + system startup processing time 34. This total processing time is very short as the conventional virtual memory page file read time 32 + dump file write time 33, flag setting time 35 + flag reference time 36 + page file creation time 37 in the embodiment of the present invention. Because it will be time,
The time is extremely small as compared with the prior art.

【0019】前述した本発明の一実施例によれば、使用
していたページファイルをダンプファイルとして保存
し、システム立ち上げ後にページアウトされたページの
退避を不要とし、システムの運転に必要なサイズのペー
ジファイルを自動的に作成しているので、システムの運
転再開に支障をきたすことなく、システムが異常を検知
してシステムを停止し、メモリダンプ採取後、短時間に
システムを再立ち上げすることができる。
According to the above-described embodiment of the present invention, the used page file is saved as a dump file, and it is not necessary to save the paged-out page after the system is started up. Since the page file of is automatically created, the system detects an error and stops the system without interrupting the restart of the system, restarts the system in a short time after collecting a memory dump. be able to.

【0020】[0020]

【発明の効果】以上詳細に説明したように本発明によれ
ば、システムが異常を検知してシステム停止し、メモリ
ダンプ採取後、短時間にシステムを再立ち上げすること
ができるという効果を得ることができる。
As described in detail above, according to the present invention, it is possible to restart the system in a short time after the system detects an abnormality, stops the system, and collects a memory dump. be able to.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例によるメモリダンプ採取方式
の構成と動作とを説明する図である。
FIG. 1 is a diagram illustrating the configuration and operation of a memory dump collection method according to an embodiment of the present invention.

【図2】本発明の一実施例による処理時間を従来技術の
場合と比較して説明するタイムチャートである。
FIG. 2 is a time chart explaining a processing time according to an embodiment of the present invention in comparison with a case of a conventional technique.

【符号の説明】[Explanation of symbols]

10 システムディスク 11 システム立ち上げ情報ファイル 12 ダンプファイル 13 ページファイル 14 新ページファイル 15 ページファイル新規作成フラグ 16 実メモリ 10 system disk 11 system startup information file 12 dump file 13 page file 14 new page file 15 page file new creation flag 16 real memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 実メモリと、外部記憶装置と、該外部記
憶装置内に設けられたページアウトされたメモリを格納
するページファイル、実メモリを退避するダンプファイ
ル、及び、外部記憶装置上にページファイルを作成する
ことを指示するフラグを有するシステム立ち上げ情報フ
ァイルとを備え、運転中にシステムが運転不可能な異常
を検知した場合、メモリをダンプファイルに退避し、シ
ステムを再立ち上げする機能を有する計算機システムの
メモリダンプ採取方式において、システム停止時に、実
メモリの内容をダンプファイルに退避し、システム立ち
上げ情報ファイルにページファイルを作成するフラグを
設定すると共に、システム立ち上げ時に、システム立ち
上げ情報ファイルからページファイルを作成するフラグ
を参照し、このフラグに従い新規ページファイルを作成
することにより、旧ページファイルをダンプファイルと
して保存することを特徴とするメモリダンプ採取方式。
1. A real memory, an external storage device, a page file for storing a paged-out memory provided in the external storage device, a dump file for saving the real memory, and a page on the external storage device. A function to save the memory to a dump file and restart the system when a system startup information file that has a flag that instructs to create a file is detected and the system detects an inoperable error during operation In a memory dump collection method for a computer system that has a Refer to the flag to create a page file from the upload information file, and A memory dump collection method that saves the old page file as a dump file by creating a new page file according to
JP6005807A 1994-01-24 1994-01-24 Memory dump sampling system Pending JPH07210428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6005807A JPH07210428A (en) 1994-01-24 1994-01-24 Memory dump sampling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6005807A JPH07210428A (en) 1994-01-24 1994-01-24 Memory dump sampling system

Publications (1)

Publication Number Publication Date
JPH07210428A true JPH07210428A (en) 1995-08-11

Family

ID=11621361

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6005807A Pending JPH07210428A (en) 1994-01-24 1994-01-24 Memory dump sampling system

Country Status (1)

Country Link
JP (1) JPH07210428A (en)

Similar Documents

Publication Publication Date Title
JPH07210428A (en) Memory dump sampling system
JPH10333944A (en) Memory dump sample system
JP2004280140A (en) Memory dump executing system, method, and program
JP2728407B2 (en) Memory dump processing device
JPH1124936A (en) Fast restart system of information processor
JPH09223046A (en) Computer system having damp collecting function
JPH09330253A (en) Memory dump method and memory damp system applying the same
JP2812037B2 (en) Restart control method for business processing programs
JPH02170244A (en) Output system for trace information
JPH0789308B2 (en) Computer automatic restart method
JPS60243747A (en) Reraising method of system program
JP3039125B2 (en) Information processing device
JPH0319025A (en) Job starting system
JPH0540670A (en) Processor control system
JPH05151034A (en) Dump output device
JPH0830474A (en) Fault processing system
JPH0279129A (en) Check point restarting system
JPH05151187A (en) Fault logging system for plural processors
JPH02109147A (en) Memory dump collection system
JPS62211747A (en) Memory dumping system at the time of system abnormality
JPH08212113A (en) Error information collection test system
JPH0512049A (en) System for acquiring fault information
JPH0229833A (en) Maintenance diagnostic system
JPH04352042A (en) Memory dump collecting system
JPS6368919A (en) Fast start-up processing system for computer system