JPH11259342A - System and method for acquiring memory image file in object fault for distributed application system - Google Patents

System and method for acquiring memory image file in object fault for distributed application system

Info

Publication number
JPH11259342A
JPH11259342A JP10057819A JP5781998A JPH11259342A JP H11259342 A JPH11259342 A JP H11259342A JP 10057819 A JP10057819 A JP 10057819A JP 5781998 A JP5781998 A JP 5781998A JP H11259342 A JPH11259342 A JP H11259342A
Authority
JP
Japan
Prior art keywords
image file
memory image
distributed application
application system
file generation
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
JP10057819A
Other languages
Japanese (ja)
Inventor
Yoji Oguro
洋史 大黒
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 JP10057819A priority Critical patent/JPH11259342A/en
Publication of JPH11259342A publication Critical patent/JPH11259342A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To facilitate analysis using a memory image file in any fault for a distributed application system. SOLUTION: A memory image file generating mechanism 1 is called from a memory image file generation trigger 2 and generates a memory image file 6. At the time point when a signal is received from an OS by a method 3, the memory image file generation trigger 2 is called and the memory image file generating mechanism 1 is called. Further, when an object 5 is called from the other object, the position of the calling source object is inquired to a call managing mechanism 7 inside an object request broker 4, and a memory image file generation trigger 8 of the calling source object is called.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、オブジェクトリク
エストブローカを使用した分散アプリケーションシステ
ムにおける障害情報収集方式に関し、特に、オブジェク
トの手続きであるメソッドがシグナルを受信した場合
に、シグナルを受信したオブジェクトだけでなく、その
オブジェクトを呼び出したオブジェクトのメモリイメー
ジファイルを連鎖的に生成することで、関連する全ての
オブジェクトのメモリイメージファイルを生成し、分散
アプリケーションシステムの障害時に、デバッグを容易
にする分散アプリケーションシステムにおけるメモリイ
メージファイル取得方式及びその方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a failure information collecting method in a distributed application system using an object request broker, and in particular, when a method that is a procedure of an object receives a signal, only the object receiving the signal receives the signal. Instead, by generating a memory image file of the object that called the object in a chain, a memory image file of all related objects is generated, and in the event of a failure of the distributed application system, debugging is facilitated in a distributed application system. The present invention relates to a memory image file acquisition method and method.

【0002】[0002]

【従来の技術】従来、分散アプリケーションシステムに
おいては、複数のオブジェクトがお互いに影響しあって
サービスされていたにも関わらず、オブジェクト障害時
は、通常のアプリケーションシステムと同様、シグナル
を受信したオブジェクトのみをメモリイメージファイル
の生成対象としていた。
2. Description of the Related Art Conventionally, in a distributed application system, despite the fact that a plurality of objects affect each other and are being serviced, when an object fails, only the object that has received a signal as in a normal application system. Was a target for generating a memory image file.

【0003】この種の従来技術として、オブジェクトを
サービスするプロセスに障害が発生した場合のメモリイ
メージのダンプ方法について詳述した、公開特許公報
「メモリダンプ収集方式;特開平5−173851」等
がある。
[0003] As this kind of prior art, there is a detailed description of a method for dumping a memory image when a failure occurs in a process for servicing an object. .

【0004】また、株式会社アスキーより出版されてい
る「UNIX MAGAZINE」の1992年10月
号の127ページには、プログラムがエラーでとまった
時のプロセスの実行イメージをコアファイルに格納して
おき、このコアファイルを使用し、呼び出し元プロセス
を特定し、もう一度障害を発生させるなどして、障害原
因のある範囲を特定し、障害原因を解析する手法が記述
されている。
[0004] Further, on page 127 of the October 1992 issue of "UNIX MAGAZINE" published by ASCII Corporation, an execution image of a process when a program stops due to an error is stored in a core file. A technique is described in which the core file is used to specify a calling process, generate a fault again, specify a range of the cause of the fault, and analyze the cause of the fault.

【0005】[0005]

【発明が解決しようとする課題】しかし、この従来技術
では、オブジェクト障害時は、シグナルを受信したオブ
ジェクトのみをメモリイメージファイルの生成対象とし
ていたため、シグナルを受信したオブジェクトを呼び出
した、他のオブジェクト等、関連するオブジェクトに障
害の原因がある場合、解析が困難になるという欠点があ
った。
However, in this prior art, when an object failure occurs, only the object that has received a signal is targeted for generating a memory image file. For example, when a related object has a cause of failure, the analysis becomes difficult.

【0006】[0006]

【課題を解決するための手段】本願の第1の発明は、分
散アプリケーションシステムにおけるオブジェクト障害
時のメモリイメージファイル取得方式において、各オブ
ジェクトはメソッドとメモリイメージファイル生成トリ
ガ及びメモリイメージファイル生成機構から構成され、
前記オブジェクトに障害が発生し前記メソッドがシグナ
ルを受信した場合、前記各オブジェクトは自分の前記メ
モリイメージファイル生成トリガにより前記障害が発生
したオブジェクトを起点として自分を呼びだしたオブジ
ェクトを連鎖的に呼び出すとともに前記メモリイメージ
ファイル生成機構を介してメモリイメージファイルを生
成することを特徴とする。
According to a first aspect of the present invention, in a method for acquiring a memory image file at the time of an object failure in a distributed application system, each object comprises a method, a memory image file generation trigger, and a memory image file generation mechanism. And
When a fault occurs in the object and the method receives a signal, each of the objects sequentially calls the object that called itself from the faulted object by its own memory image file generation trigger, and A memory image file is generated via a memory image file generation mechanism.

【0007】本願の第2の発明は、第1の発明における
前記メモリイメージファイル生成トリガは、オブジェク
トリクエストブローカを介して前記自分を呼びだしたオ
ブジェクトを呼び出すことを特徴とする。
According to a second aspect of the present invention, the memory image file generation trigger according to the first aspect calls the object which called the self via an object request broker.

【0008】本願の第3の発明は、第1及び第2の発明
における分散アプリケーションシステムにおけるオブジ
ェクト障害時のメモリイメージファイル取得方式を用い
たUNIXシステムであることを特徴とする。
The third invention of the present application is characterized in that the distributed application system in the first and second inventions is a UNIX system using a memory image file acquisition method at the time of an object failure.

【0009】本願の第4の発明は、分散アプリケーショ
ンシステムにおけるオブジェクト障害時のメモリイメー
ジファイル取得方法において、オブジェクトに障害が発
生した場合、各オブジェクトは前記障害が発生したオブ
ジェクトを起点として自分を呼びだしたオブジェクトを
連鎖的に呼び出すとともにメモリイメージファイルを生
成することを特徴とする。
According to a fourth aspect of the present invention, in the method for obtaining a memory image file at the time of an object failure in a distributed application system, when a failure occurs in an object, each object calls itself starting from the failed object. It is characterized in that objects are called in a chain and a memory image file is generated.

【0010】本願の第5の発明は、第4の発明におい
て、前記各オブジェクトはオブジェクトリクエストブロ
ーカを介して自分を呼びだしたオブジェクトを呼び出す
ことを特徴とする。
According to a fifth aspect of the present invention, in the fourth aspect, each of the objects invokes an object which has called itself through an object request broker.

【0011】本願の第6の発明は、第4及び第5の発明
における分散アプリケーションシステムにおけるオブジ
ェクト障害時のメモリイメージファイル取得方法を用い
たUNIXシステムであることを特徴とする。
A sixth invention of the present application is characterized in that the distributed application system according to the fourth and fifth inventions is a UNIX system using a method for obtaining a memory image file at the time of an object failure.

【0012】[0012]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0013】図1は、本発明の一実施の形態を示すブロ
ック図である。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0014】図1を参照すると、本発明の分散アプリケ
ーションシステムにおけるメモリイメージファイル取得
方式は、メモリイメージファイル生成機構1、メモリイ
メージファイル生成トリガ2、メソッド3から構成され
るオブジェクト5、メモリイメージファイル生成機構1
によって生成されるメモリイメージファイル6、呼出し
管理機構7を含むオブジェクトリクエストブローカ4、
および他オブジェクトのメモリイメージファイル生成ト
リガ8を含んで構成される。
Referring to FIG. 1, a memory image file obtaining method in the distributed application system of the present invention is based on a memory image file generating mechanism 1, a memory image file generating trigger 2, an object 5 including a method 3, a memory image file generating method. Mechanism 1
A memory image file 6 generated by the object request broker 4 including a call management mechanism 7,
And a memory image file generation trigger 8 for other objects.

【0015】メモリイメージファイル生成機構1は、メ
モリイメージファイル生成トリガ2より呼び出され、メ
モリイメージファイル6を生成する。メモリイメージフ
ァイル生成トリガ2は、メソッド3がOSからシグナル
を受信した時点で呼び出され、メモリイメージファイル
生成機構1を呼び出す。さらに、オブジェクト5が他の
オブジェクトから呼び出されている場合には、オブジェ
クトリクエストブローカ4中の呼出し管理機構7に呼び
出し元オブジェクトの位置を問い合わせ、呼び出し元オ
ブジェクトのメモリイメージファイル生成トリガ8を呼
び出す。
The memory image file generation mechanism 1 is called by a memory image file generation trigger 2 and generates a memory image file 6. The memory image file generation trigger 2 is called when the method 3 receives a signal from the OS, and calls the memory image file generation mechanism 1. Further, when the object 5 is called from another object, the position of the caller object is inquired to the call management mechanism 7 in the object request broker 4, and the memory image file generation trigger 8 of the caller object is called.

【0016】尚、オブジェクトリクエストブローカはネ
ットワークに分散したアプリケーションをオブジェクト
指向の考え方を用いて構築するためのフレームワークで
ある。オブジェクトリクエストブローカでは、ネットワ
ーク上に存在する、あるサービスを実行するプログラム
をオブジェクトとみなし、クライアントプログラムはこ
のオブジェクトへのメソッドの呼び出しを行うという形
でサービスの実行を要求する。従って、クライアントプ
ログラムも、サービスを提供するサーバプログラムも
ネットワークを意識した面倒なプログラミングの必要は
なくなるという特徴がある。
Note that the object request broker is a framework for building an application distributed on a network using an object-oriented concept. In the object request broker, a program that executes a certain service existing on a network is regarded as an object, and a client program requests execution of a service by calling a method for this object. Therefore, both client programs and server programs that provide services
The feature is that there is no need for troublesome programming with the network in mind.

【0017】[0017]

【実施例】次に、本発明の実施例について図2を参照し
て説明する。
Next, an embodiment of the present invention will be described with reference to FIG.

【0018】図2は、UNIXシステムにおける本発明
の一実施例を示すブロック図である。
FIG. 2 is a block diagram showing one embodiment of the present invention in a UNIX system.

【0019】この図では、図1におけるメモリイメージ
ファイル6をコアファイル26およびコアファイル3
1、図1におけるメモリイメージファイル生成トリガ2
をコアファイル生成トリガ22およびコアファイル生成
トリガ27、図1におけるメモリイメージファイル生成
機構1をコアファイル生成機構21およびコアファイル
生成機構29としている。オブジェクトA30およびオ
ブジェクトB25は、それぞれ、プロセスA28および
プロセスB24によってサービスされ、1つのシステム
を構成する分散アプリケーションである。
In this figure, the memory image file 6 in FIG.
1. Memory image file generation trigger 2 in FIG.
Are the core file generation trigger 22 and the core file generation trigger 27, and the memory image file generation mechanism 1 in FIG. 1 is the core file generation mechanism 21 and the core file generation mechanism 29. The object A30 and the object B25 are distributed applications that are serviced by the process A28 and the process B24, respectively, and constitute one system.

【0020】オブジェクトA30をサービスするプロセ
スA28中のメソッドA32中の処理の中で、オブジェ
クトB25をサービスするプロセスB24中のメソッド
B23をオブジェクトリクエストブローカ33を通じて
呼び出す場合について説明する。
A description will be given of a case where the method B23 in the process B24 which services the object B25 is called through the object request broker 33 in the processing in the method A32 in the process A28 which services the object A30.

【0021】メソッドB23の実行中に、プロセスB2
4が、OSカーネルから、セグメント違反などの障害に
よるシグナルを受け取ると、コアファイル生成トリガ2
2に通知される。コアファイル生成トリガ22は、コア
ファイル生成機構21を呼び出し、コアファイル生成機
構21は、初めての呼出しの場合に限り、コアファイル
26を生成する。同時に、オブジェクトリクエストブロ
ーカ33中の呼出し管理機構34に対し、呼び出し元で
ある、オブジェクトA30の位置を問い合わせ、その結
果をもとに、オブジェクトA30中のコアファイル生成
トリガ27に、呼出し先のオブジェクトでシグナルが発
生したことを通知する。
During execution of method B23, process B2
4 receives a signal from the OS kernel due to a failure such as a segment violation, the core file generation trigger 2
2 is notified. The core file generation trigger 22 calls the core file generation mechanism 21, and the core file generation mechanism 21 generates the core file 26 only for the first call. At the same time, the call management mechanism 34 in the object request broker 33 is inquired about the position of the object A30 which is the caller, and based on the result, the core file generation trigger 27 in the object A30 is used to send Signals that a signal has occurred.

【0022】コアファイル生成トリガ27は、コアファ
イル生成機構29を呼び出すと同時に、オブジェクトA
30が他のオブジェクトから呼び出されている場合に
は、オブジェクトリクエストブローカ33を通じて、そ
のオブジェクトのコアファイル生成トリガに通知する。
他のオブジェクトから呼び出されていない場合は、何も
行わない。
The core file generation trigger 27 calls the core file generation mechanism 29 and, at the same time,
If the object 30 is called from another object, the object request broker 33 notifies the object of the core file generation trigger.
Does nothing if not called by another object.

【0023】このように連鎖的に、呼び出し元のオブジ
ェクトのコアファイル生成トリガに通知し、関連する全
てのオブジェクトのプロセスのコアファイルを生成す
る。
In this way, the core file generation trigger of the calling object is notified in a chain, and the core files of the processes of all related objects are generated.

【0024】[0024]

【発明の効果】以上説明したように、本発明は、オブジ
ェクト障害時、シグナルを受信したオブジェクトだけで
なく関連する全てのオブジェクトのメモリイメージファ
イルが連鎖的に得られるようにしたことにより、分散ア
プリケーションシステムの障害時の、メモリイメージフ
ァイルを使用した解析を容易にできる効果がある。
As described above, according to the present invention, in the event of an object failure, a memory image file of not only the object for which a signal is received but also all related objects can be obtained in a chained manner. This has the effect of facilitating analysis using a memory image file when a system failure occurs.

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

【図1】本発明の一実施の形態を示すブロック図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】UNIXシステムにおける本発明の一実施例を
示すブロック図である。
FIG. 2 is a block diagram showing one embodiment of the present invention in a UNIX system.

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

1 メモリイメージファイル生成機構 2 メモリイメージファイル生成トリガ 3 メソッド 4 オブジェクトリクエストブローカ 5 オブジェクト 6 メモリイメージファイル 7 呼出し管理機構 8 他オブジェクトのメモリイメージファイル生成ト
リガ 21,29 コアファイル生成機構 22,27 コアファイル生成トリガ 23 メソッドB 24 プロセスB 25 オブジェクトB 26 コアファイル 28 プロセスA 30 オブジェクトA 31 コアファイル 32 メソッドA 33 オブジェクトリクエストブローカ 34 呼出し管理機構
Reference Signs List 1 memory image file generation mechanism 2 memory image file generation trigger 3 method 4 object request broker 5 object 6 memory image file 7 call management mechanism 8 memory image file generation trigger of other objects 21, 29 core file generation mechanism 22, 27 core file generation Trigger 23 Method B 24 Process B 25 Object B 26 Core file 28 Process A 30 Object A 31 Core file 32 Method A 33 Object request broker 34 Call management mechanism

フロントページの続き (54)【発明の名称】 分散アプリケーションシステムにおけるオブジェクト障害時のメモリイメージファイル取得方式 及び、分散アプリケーションシステムにおけるオブジェクト障害時のメモリイメージファイル取 得方法Continued on the front page (54) [Title of the Invention] A method for acquiring a memory image file when an object fails in a distributed application system and a method for acquiring a memory image file when an object fails in a distributed application system

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 分散アプリケーションシステムにおける
オブジェクト障害時のメモリイメージファイル取得方式
において、各オブジェクトはメソッドとメモリイメージ
ファイル生成トリガ及びメモリイメージファイル生成機
構から構成され、前記オブジェクトに障害が発生し前記
メソッドがシグナルを受信した場合、前記各オブジェク
トは自分の前記メモリイメージファイル生成トリガによ
り前記障害が発生したオブジェクトを起点として自分を
呼びだしたオブジェクトを連鎖的に呼び出すとともに前
記メモリイメージファイル生成機構を介してメモリイメ
ージファイルを生成することを特徴とする分散アプリケ
ーションシステムにおけるオブジェクト障害時のメモリ
イメージファイル取得方式。
In a method for acquiring a memory image file at the time of an object failure in a distributed application system, each object is composed of a method, a memory image file generation trigger, and a memory image file generation mechanism. When a signal is received, each object calls its own object in a chain from the failed object as a starting point by its own memory image file generation trigger, and the memory image file is generated via the memory image file generation mechanism. A method for acquiring a memory image file at the time of an object failure in a distributed application system, characterized by generating a file.
【請求項2】 前記メモリイメージファイル生成トリガ
は、オブジェクトリクエストブローカを介して前記自分
を呼びだしたオブジェクトを呼び出すことを特徴とする
請求項1記載の分散アプリケーションシステムにおける
オブジェクト障害時のメモリイメージファイル取得方
式。
2. The method according to claim 1, wherein the memory image file generation trigger calls the object that called the self via an object request broker. .
【請求項3】 請求項1または2記載の分散アプリケー
ションシステムにおけるオブジェクト障害時のメモリイ
メージファイル取得方式を用いたUNIXシステム。
3. A UNIX system using a memory image file acquisition method at the time of an object failure in the distributed application system according to claim 1 or 2.
【請求項4】 分散アプリケーションシステムにおける
オブジェクト障害時のメモリイメージファイル取得方法
において、オブジェクトに障害が発生した場合、各オブ
ジェクトは前記障害が発生したオブジェクトを起点とし
て自分を呼びだしたオブジェクトを連鎖的に呼び出すと
ともにメモリイメージファイルを生成することを特徴と
する分散アプリケーションシステムにおけるオブジェク
ト障害時のメモリイメージファイル取得方法。
4. In a method for obtaining a memory image file at the time of an object failure in a distributed application system, when a failure occurs in an object, each object sequentially calls the object that called itself from the failed object as a starting point. And a memory image file generated at the time of an object failure in a distributed application system.
【請求項5】 前記各オブジェクトはオブジェクトリク
エストブローカを介して自分を呼びだしたオブジェクト
を呼び出すことを特徴とする請求項4記載の分散アプリ
ケーションシステムにおけるオブジェクト障害時のメモ
リイメージファイル取得方法。
5. The method according to claim 4, wherein each of the objects calls an object which calls itself through an object request broker.
【請求項6】 請求項4または5記載の分散アプリケー
ションシステムにおけるオブジェクト障害時のメモリイ
メージファイル取得方法を用いたUNIXシステム。
6. A UNIX system using the method for acquiring a memory image file when an object fails in the distributed application system according to claim 4.
JP10057819A 1998-03-10 1998-03-10 System and method for acquiring memory image file in object fault for distributed application system Pending JPH11259342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10057819A JPH11259342A (en) 1998-03-10 1998-03-10 System and method for acquiring memory image file in object fault for distributed application system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10057819A JPH11259342A (en) 1998-03-10 1998-03-10 System and method for acquiring memory image file in object fault for distributed application system

Publications (1)

Publication Number Publication Date
JPH11259342A true JPH11259342A (en) 1999-09-24

Family

ID=13066543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10057819A Pending JPH11259342A (en) 1998-03-10 1998-03-10 System and method for acquiring memory image file in object fault for distributed application system

Country Status (1)

Country Link
JP (1) JPH11259342A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5304657B2 (en) * 2008-02-22 2013-10-02 富士通株式会社 Information processing apparatus, process verification support method, and process verification support program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5304657B2 (en) * 2008-02-22 2013-10-02 富士通株式会社 Information processing apparatus, process verification support method, and process verification support program

Similar Documents

Publication Publication Date Title
US6584491B1 (en) Arrangement for monitoring a progress of a message flowing through a distributed multiprocess system
CN112910945B (en) Request link tracking method and service request processing method
AU718427B2 (en) Method and apparatus for handling processing errors in telecommunications exchanges
US6212676B1 (en) Event architecture for system management in an operating system
US6026499A (en) Scheme for restarting processes at distributed checkpoints in client-server computer system
US7136881B2 (en) Method and system for processing directory events
EP1024430A2 (en) Fault-tolerant Java virtual machine
US7912858B2 (en) Data synchronization method
JPH09185538A (en) Method and device for front end navigator and network architecture
US20040054991A1 (en) Debugging tool and method for tracking code execution paths
JP2002082926A (en) Distributed application test and operation management system
US9021456B2 (en) Using collaborative annotations to specify real-time process flows and system constraints
JP4885342B2 (en) Highly usable asynchronous I / O in cluster computer systems
US6185702B1 (en) Method and system for process state management using checkpoints
CN112363845A (en) Data synchronization method of system integration middling station and integration middling station system
US7289989B2 (en) Pattern based web services
US7502822B2 (en) Using collaborative annotations to specify real-time process flows and system constraints
US7363615B2 (en) Stack-based callbacks for diagnostic data generation
JPH11259342A (en) System and method for acquiring memory image file in object fault for distributed application system
CN113645260A (en) Service retry method, device, storage medium and electronic equipment
CN114598622A (en) Data monitoring method and device, storage medium and computer equipment
CN114764324A (en) Enterprise resource planning system and integration method thereof
CN116893834B (en) Load updating method, device, system, electronic equipment and readable storage medium
AU718930B2 (en) Procedure for supporting the generation of an object in a computer system
CN114356643B (en) Automatic task discovery failure and recovery method in remote sensing satellite processing system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010619