JP2015153328A - Dump output suppression program, dump output suppression method, and information processing device - Google Patents
Dump output suppression program, dump output suppression method, and information processing device Download PDFInfo
- Publication number
- JP2015153328A JP2015153328A JP2014028893A JP2014028893A JP2015153328A JP 2015153328 A JP2015153328 A JP 2015153328A JP 2014028893 A JP2014028893 A JP 2014028893A JP 2014028893 A JP2014028893 A JP 2014028893A JP 2015153328 A JP2015153328 A JP 2015153328A
- Authority
- JP
- Japan
- Prior art keywords
- classification formula
- classification
- information
- created
- dump
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
本発明は、ダンプ出力抑止プログラム、ダンプ出力抑止方法及び情報処理装置に関する。 The present invention relates to a dump output suppression program, a dump output suppression method, and an information processing apparatus.
OS(Operating System)などの障害調査においては、障害発生時のメモリイメージを出力したメモリダンプが重要な調査資料となるが、メモリダンプ調査には深い知識と技術が必要であり、原因発生個所の絞り込みには時間がかかる。 In an OS (Operating System) failure investigation, a memory dump that outputs a memory image at the time of failure is an important investigation material. However, a deep knowledge and technique are necessary for the memory dump investigation, and the cause of the cause It takes time to narrow down.
このため、メモリイメージを全て出力するのではなく、指定されたセグメントの範囲でメモリイメージを編集してダンプ出力することによって、障害時の調査を容易にする従来技術がある。 For this reason, there is a conventional technique that facilitates investigation at the time of failure by editing a memory image within a specified segment range and outputting a dump instead of outputting all memory images.
また、プログラムのアボート時にスタック情報をダンプ出力するだけでなく、実行された機械語命令及び変更されたレジスタ情報を出力することによって、アボートの原因調査を支援する従来技術がある。 In addition, there is a conventional technique that supports the investigation of the cause of abort by not only dumping stack information when a program is aborted but also outputting executed machine language instructions and changed register information.
また、過去に同一プログラム、同一実行番地、同一原因で例外が発生したか否かを判定し、発生していた場合には、ダンプ情報を削除することによって、容量の限られた外部記憶装置を有効利用する従来技術がある。 In addition, it is determined whether an exception has occurred in the past due to the same program, the same execution address, and the same cause, and if it has occurred, an external storage device with limited capacity can be obtained by deleting dump information. There are conventional technologies that are used effectively.
しかしながら、プログラムと実行番地と原因という3つの観点で同一の例外が発生したか否かを判定する従来技術には、例外に至るまでの経路が考慮されていないので、根本的な原因が異なる障害を同一障害とみなしてしまうという問題がある。 However, the conventional technology that determines whether or not the same exception has occurred from the three viewpoints of the program, the execution address, and the cause does not consider the route to the exception. Is regarded as the same obstacle.
本発明は、1つの側面では、障害が同一であるか否かを正確に判定して、同一の障害に起因するダンプの出力を抑止することを目的とする。 An object of one aspect of the present invention is to accurately determine whether or not a failure is the same and to suppress dump output due to the same failure.
本願の開示するダンプ出力抑止プログラムは、1つの態様において、障害が発生した際に、スタックに記憶された各エントリを分類することによって分類式を作成する処理をコンピュータに実行させる。そして、ダンプ出力抑止プログラムは、作成した分類式と一致する分類式を過去の障害時に作成された分類式から探す処理をコンピュータに実行させる。 In one aspect, a dump output suppression program disclosed in the present application causes a computer to execute a process of creating a classification formula by classifying each entry stored in a stack when a failure occurs. Then, the dump output suppression program causes the computer to execute a process of searching for a classification formula that matches the created classification formula from the classification formula created at the time of a past failure.
1実施態様によれば、同一の障害に起因するダンプの出力を抑止することができる。 According to one embodiment, it is possible to suppress dump output due to the same failure.
以下に、本願の開示するダンプ出力抑止プログラム、ダンプ出力抑止方法及び情報処理装置の実施例を図面に基づいて詳細に説明する。なお、この実施例は開示の技術を限定するものではない。 Embodiments of a dump output suppression program, a dump output suppression method, and an information processing apparatus disclosed in the present application will be described below in detail with reference to the drawings. Note that this embodiment does not limit the disclosed technology.
まず、実施例1に係る情報処理装置の機能構成について説明する。図1は、実施例1に係る情報処理装置の機能構成を示す図である。情報処理装置1は、プログラムを実行することにより情報処理を行う装置であり、図1に示すように、装置に障害が発生したときにメモリダンプを出力するダンプ出力部2を有する。ダンプ出力部2は、スタック(Stack)21と、分類式作成部22と、ダンプDB23と、探索部24と、判定部25と、出力部26とを有する。
First, the functional configuration of the information processing apparatus according to the first embodiment will be described. FIG. 1 is a diagram illustrating a functional configuration of the information processing apparatus according to the first embodiment. The
スタック21は、プログラムが実行された過程で情報が一時的に保存される領域であり、変数の値や関数の戻り先アドレス等の情報をLIFO(Last In First Out)で保存する。
The
分類式作成部22は、障害を分類するための分類式をスタック21が記憶するスタック情報から作成する。具体的には、分類式作成部22は、スタック21が記憶する各エントリを実行モジュールに関する情報、スタックフレーム(Stack Frame)に関する情報、プール(Pool)に関する情報及びその他の情報に分類する。そして、分類式作成部22は、分類結果に基づいて各エントリを所定の文字に置き換える。
The classification formula creation unit 22 creates a classification formula for classifying a failure from the stack information stored in the
また、分類式作成部22は、エントリが実行モジュールに関する情報である場合には、所定の文字の後ろに実行モジュールの復帰アドレスの下位3桁のアドレスを付加する。そして、分類式作成部22は、置き換えた文字及び下位3桁のアドレスからスタック21におけるエントリの順番に対応付けられた文字列を生成し、生成した文字列の先頭にBUGCHECK CODEを付加することによって分類式を作成する。
Further, when the entry is information related to the execution module, the classification formula creation unit 22 adds the lower three digits of the return address of the execution module after the predetermined character. Then, the classification formula creation unit 22 generates a character string associated with the order of entries in the
図2は、スタック情報の文字列への置き換えを説明するための図である。図2に示すように、スタック21のエントリは、32ビット環境で4バイトであり、8桁の16進数で表される。
FIG. 2 is a diagram for explaining replacement of stack information with a character string. As shown in FIG. 2, the entry of the
実行モジュールに関する情報は、関数呼び出しのリターンアドレスであり、実行モジュールがロードされたアドレスから、実行モジュールがロードされたアドレスに実行モジュールのサイズを加えたアドレスまでの範囲である。なお、実行モジュールがロードされたアドレスはOSにより管理される。 The information related to the execution module is a return address of the function call, and ranges from the address at which the execution module is loaded to the address at which the size of the execution module is added to the address at which the execution module is loaded. Note that the address at which the execution module is loaded is managed by the OS.
スタックフレームに関する情報は、スタック21のアドレス情報であり、スタック21のベースアドレスとリミットアドレスの範囲である。プールに関する情報は、OSにより管理される領域であるプールのアドレス情報であり、プールのアドレスの範囲である。その他の情報は、実行モジュールに関する情報、スタックフレームに関する情報及びプールに関する情報以外の情報である。なお、スタックフレーム及びプールは実行モジュール内に確保される。
The information regarding the stack frame is address information of the
分類式作成部22は、実行モジュールに関する情報を文字Cに置き換え、スタックフレームに関する情報を文字Sに置き換え、プールに関する情報を文字Pに置き換え、その他の情報を文字Dに置き換える。 The classification formula creation unit 22 replaces information regarding the execution module with the letter C, replaces information regarding the stack frame with the letter S, replaces information regarding the pool with the letter P, and replaces other information with the letter D.
また、分類式作成部22は、エントリが実行モジュールに関する情報である場合に、アドレスの下位3桁を文字Cの後に付加する。実行モジュールがメモリ上にロードされるアドレスは固定でないが、0x1000バイト単位でアラインメントが調整されたアドレスにロードされる。また、実行モジュール内のコード配置は、変更されない。このため、特定のコードが配置されるアドレスの下位3桁は常に同じである。すなわち、スタック21に保存されるリターンアドレスの下位3桁は変わらない。したがって、リターンアドレスの下位3桁を利用することは、新たに発生した障害を既障害と比較する場合に、関数呼び出しの同一性の検出に有効である。
Further, the classification formula creation unit 22 adds the lower three digits of the address after the character C when the entry is information on the execution module. The address at which the execution module is loaded onto the memory is not fixed, but is loaded at an address whose alignment is adjusted in units of 0x1000 bytes. Moreover, the code arrangement in the execution module is not changed. For this reason, the lower three digits of the address where the specific code is arranged are always the same. That is, the lower three digits of the return address stored in the
図2において、スタック21の先頭のエントリは、0x00000001であり、実行モジュールに関する情報でもなく、スタックフレームに関する情報でもなく、プールに関する情報でもないので文字Dに置き換えられる。また、スタック21の先頭から2番目のエントリは、0x8a7b7b58であり、プールのアドレスの範囲であるので文字Pに置き換えられる。また、スタック21の先頭から5番目のエントリは、0xb97076c0であり、スタック21のベースアドレスとリミットアドレスの範囲であるので文字Sに置き換えられる。
In FIG. 2, the top entry of the
また、スタック21の先頭から6番目のエントリは、0x8081f764であり、実行モジュールがロードされたアドレスの範囲であって、プールのアドレスの範囲でもなく、スタックフレームのアドレス範囲でもないので、文字Cに置き換えられる。また、文字Cの後にアドレスの下位3桁である764が付加される。
Also, the sixth entry from the top of the
なお、分類式作成部22は、スタック21の全エントリを用いて文字列を作成するが、スタック21の先頭から所定の数のエントリを用いて文字列を作成してもよい。
The classification formula creation unit 22 creates a character string using all entries in the
図1に戻って、ダンプDB23は、過去に発生した複数の障害について、障害ごとに分類式と障害の発生日時と障害の原因とを対応付けて記憶する。
Returning to FIG. 1, the
探索部24は、分類式作成部22により作成された分類式と同一の分類式をダンプDB23から探索する。探索部24は、分類式作成部22により作成された分類式と同一の分類式がダンプDB23から探索された場合には、対応する発生日時及び障害原因を判定部25に渡し、探索されなかった場合には、その旨を判定部25に通知する。
The
判定部25は、探索部24の探索結果に基づいてファイルにメモリダンプを行うか否かを判定する。判定部25は、分類式作成部22により作成された分類式に対応する発生日時及び障害原因を探索部24から受け取ると、メモリダンプを行わないと判定し、分類式が探索されなかったことを探索部24から通知されると、メモリダンプを行うと判定する。
The determination unit 25 determines whether to perform a memory dump on the file based on the search result of the
出力部26は、判定部25がメモリダンプを行うと判定した場合にメモリダンプをファイルに出力し、判定部25がメモリダンプを行わないと判定した場合に同一の障害の発生日及び障害原因を表示装置に表示する。
The
次に、ダンプ出力部2の処理フローについて説明する。図3は、ダンプ出力部2の処理フローを示すフローチャートである。図3に示すように、情報処理装置1により障害発生が検知されると、分類式作成部22が、スタック情報から分類式を作成する(ステップS1)。
Next, the processing flow of the dump output unit 2 will be described. FIG. 3 is a flowchart showing a processing flow of the dump output unit 2. As shown in FIG. 3, when a failure occurrence is detected by the
そして、分類式作成部22により作成された分類式を用いて、探索部24が、ダンプDB23を探索する(ステップS2)。そして、判定部25が、探索部24の探索結果に基づいてダンプ出力が必要であるか否かを判定する(ステップS3)。
Then, using the classification formula created by the classification formula creation unit 22, the
そして、出力部26は、判定部25がダンプ出力が必要であると判定した場合には、メモリダンプを実行し(ステップS4)、判定部25がダンプ出力が必要でないと判定した場合には、同一の障害の発生日時及び障害原因を表示装置に表示する(ステップS5)。
When the determination unit 25 determines that dump output is necessary, the
上述してきたように、実施例1では、分類式作成部22がスタック21に記憶された各エントリを分類することによって分類式を作成し、分類式作成部22によって作成された分類式を用いて探索部24がダンプDB23を探索する。そして、探索部24により同一の障害が探索された場合には、判定部25がダンプ出力が必要でないと判定し、出力部26は、メモリダンプを実行しない。したがって、ダンプ出力部2は、過去に発生した同一障害に対するメモリダンプを抑制することができる。
As described above, in the first embodiment, the classification formula creation unit 22 creates a classification formula by classifying each entry stored in the
また、分類式作成部22は、スタックの各エントリを実行モジュールに関する情報、プールに関する情報、スタックフレームに関する情報及びその他の情報に分類し、分類結果に基づいて各エントリを文字に置き換えて分類式を作成する。また、分類式作成部22は、実行モジュールに関する情報については、関数呼び出しのリターンアドレスであるので、下位3桁のアドレスを文字に付加する。したがって、分類式作成部22は、分類式に障害に至るまでの経路を反映させることができ、障害を正確に分類する分類式を作成することができる。 Further, the classification formula creation unit 22 classifies each entry of the stack into information on the execution module, information on the pool, information on the stack frame, and other information, and replaces each entry with a character based on the classification result to obtain the classification formula. create. Further, the classification formula creation unit 22 adds the address of the lower three digits to the character because the information about the execution module is the return address of the function call. Therefore, the classification formula creation unit 22 can reflect the route leading to the fault in the classification formula, and can create a classification formula that classifies the fault accurately.
ところで、上記実施例1では、分類式作成部22により作成された分類式と一致する分類式を探索部24が探索する場合について説明した。しかしながら、分類式作成部22により作成された分類式と類似する分類式をダンプDB23から検索することによって、障害解析を支援することができる。そこで、実施例2では、分類式を用いて障害解析を支援する障害解析支援システムについて説明する。
In the first embodiment, the case where the
まず、実施例2に係る障害解析支援システムについて説明する。図4は、実施例2に係る障害解析支援システムを説明するための図である。図4に示すように、実施例2に係る障害解析支援システムでは、情報処理装置8が、ダンプファイル61に格納されたメモリダンプから分類式を作成する(1)。
First, a failure analysis support system according to the second embodiment will be described. FIG. 4 is a diagram for explaining the failure analysis support system according to the second embodiment. As shown in FIG. 4, in the failure analysis support system according to the second embodiment, the
そして、情報処理装置8は、作成した分類式をダンプDBを有する事例記憶装置9に送信する(2)。そして、事例記憶装置9は、メモリダンプに類似する障害を障害原因を含めてリストアップした類似リスト63を分類式を用いてダンプDBから抽出し(3)、抽出した類似リスト63を情報処理装置8に送信する。そして、情報処理装置8が類似リスト63を表示装置に表示する(4)。
Then, the
このように、事例記憶装置9が分類式を用いて類似リスト63をダンプDBから抽出し、情報処理装置8が類似リスト63を表示装置に表示することによって、障害解析支援システムは障害解析を支援することができる。
In this way, the
次に、実施例2に係る障害解析支援システムの構成について説明する。図5は、実施例2に係る障害解析支援システムの構成を示す図である。図5に示すように、障害解析支援システム7は、情報処理装置8と事例記憶装置9とがネットワーク10で接続されて構成される。
Next, the configuration of the failure analysis support system according to the second embodiment will be described. FIG. 5 is a diagram illustrating the configuration of the failure analysis support system according to the second embodiment. As shown in FIG. 5, the failure analysis support system 7 is configured by connecting an
情報処理装置8は、分類式作成部81と、分類式送信部82と、類似リスト受信部83と、類似リスト表示部84とを有する。分類式作成部81は、スタック21が記憶するスタック情報の代わりにダンプファイル61が記憶するスタック情報を用いて分類式を作成する点を除いて分類式作成部22と同様の処理を行う。
The
分類式送信部82は、分類式作成部81が作成した分類式を事例記憶装置9へネットワーク10を介して送信する。類似リスト受信部83は、事例記憶装置9から類似リスト63をネットワーク10を介して受信する。類似リスト表示部84は、類似リスト受信部83が受信した類似リスト63を表示装置に表示する。
The classification
事例記憶装置9は、ダンプDB91と類似リスト抽出部92とを有する。ダンプDB91は、ダンプDB23と同様に、過去に発生した障害について、分類式と障害の発生日時と障害の原因とを対応付けて記憶する。
The
類似リスト抽出部92は、分類式送信部82により送信された分類式と類似する分類式をダンプDB91から所定の数だけ検索し、検索した分類式に対応する障害のリストを類似リスト63として抽出する。そして、類似リスト抽出部92は、類似リスト63を情報処理装置8へネットワーク10を介して送信する。
The similar
類似リスト抽出部92は、類似リスト63を抽出するときに、まずBUGCHECK CODEを用いて分類式の比較を行う。BUGCHECK CODEが同じでない場合には、類似リスト抽出部92は、2つの分類式は一致も類似もしていないと判定する。次に、類似リスト抽出部92は、分類式の中のCに基づいて2つの分類式の類似度を判定する。そして、類似リスト抽出部92は、さらに分類式の中のS、P、Dを用いて2つの分類式の類似度を判定する。
When extracting the
図6〜図7Cは、類似リスト抽出部92による類似度判定の例を説明するための図である。図6は、既障害の分類式(ダンプDB91が記憶する分類式)と比較対象の分類式(分類式作成部81により作成された分類式)の例を示す図である。図7A〜図7Cは、既障害A〜Cの分類式との比較を示す図である。
6 to 7C are diagrams for explaining an example of similarity determination by the similarity
図6に示すように、ダンプDB91は、既障害の分類式として既障害Aの分類式と既障害Bの分類式と既障害Cの分類式とを記憶する。既障害Aの分類式は、C012DDC678DC9abDであり、既障害Bの分類式は、C012DDC345DDDであり、既障害Cの分類式は、C012DDC345DC9abDである。また、比較対象の分類式は、C012DDC345DC9abDである。なお、図6では、先頭のBUGCHECK CODEは省略されている。
As illustrated in FIG. 6, the
類似リスト抽出部92は、比較対象の分類式を、図7A〜図7Cにそれぞれ示すように、既障害Aの分類式〜既障害Cの分類式と比較する。図7Aに示すように、比較対象の分類式における先頭のC012は、既障害Aの分類式における先頭のC012と一致している。これに対して、4番目のC345とC678は一致せず、この場合、類似リスト抽出部92は、既障害Aの分類式のC678をDと置き換える。類似リスト抽出部92は、置き換えたDをC以外の情報を用いて同一の障害であるかを判定する場合に利用する。また、6番目のC9abが一致しているため、類似リスト抽出部92は、既障害Aの分類式については合計で2個のCが一致していると判定する。
The similarity
図7Bに示すように、既障害Bの分類式及び比較対象の分類式において、C012及びC345が一致し、次のCは一致していないため、類似リスト抽出部92は、一致した個数は2個であると判定する。 As shown in FIG. 7B, in the classification formula of the fault B and the classification formula of the comparison target, C012 and C345 match and the next C does not match. It is determined that the number is individual.
既障害Aと既障害Bとでは、一致したCの個数は2個で同じである。そこで、類似リスト抽出部92は、Cについての他の情報を用いて類似度を比較する。ダンプの特性として、ダンプを出力する直前に必ず呼ばれる関数がスタックの先頭に積まれる。よって、先頭のCは必ず一致する。次のCは先頭のCを呼び出した原因であるため、一致していれば同じ障害である可能性が高い。その後は、障害を発生させているCまでの処理の過程を示すが、障害を発生させているCと近いCが一致していれば、それだけ障害を引き起こした処理の一致度が高くなり、Cの一致が先頭から遠くなるにつれて処理の一致度は低くなる。
In the existing failure A and the existing failure B, the number of matched C is two and the same. Therefore, the similarity
このため、類似リスト抽出部92は、先頭から近いCほど高い評価を与え、遠ざかるにつれて評価を低くする。図7A及び図7Bの場合では、既障害Bの分類式の方が、既障害Aの分類式よりも先頭に近いCが一致しているため、類似リスト抽出部92は、既障害Bが既障害Aより類似していると判定する。例えば、類似リスト抽出部92は、評価の具体的な手法として、先頭を100点とし、1文字ずれるごとに評価を5点下げていく。
For this reason, the similarity
図7Cに示すように、既障害Cの分類式及び比較対象の分類式において、C012、C345及びC9abが一致している。一致したCの個数は3個である。既障害Bの分類式よりもCが一致した個数が多いため、類似リスト抽出部92は、既障害Cの分類式が最も類似していると判定する。したがって、類似リスト抽出部92は、図6のデータベースを利用した結果、比較対象の障害は、既障害Cと最も類似した障害であると判定する。
As shown in FIG. 7C, C012, C345, and C9ab match in the classification formula of the fault C and the classification formula of the comparison target. The number of matching C is three. Since the number of matching Cs is larger than the classification formula of the existing failure B, the similarity
Cの情報だけでは類似度の比較ができない場合には、類似リスト抽出部92は、さらにC以外の情報でどれだけ一致しているかの個数を見る。一致した個数が多ければ多いほど、類似リスト抽出部92は、類似度が高いと判定する。
When the similarity cannot be compared only with the information of C, the similarity
次に、類似リスト抽出処理のフローについて説明する。図8は、類似リスト抽出処理のフローを示すフローチャートである。図8において、S11とS15は、間に挟まれる処理を既障害の分類式分ループすることを示す。なお、類似リスト63には、各障害について分類式と文字Cの一致個数と評価結果と発生日時と原因が含まれる。
Next, the flow of the similar list extraction process will be described. FIG. 8 is a flowchart showing the flow of the similar list extraction process. In FIG. 8, S11 and S15 indicate that the processing sandwiched between them is looped by the classification formula of the existing fault. The
図8に示すように、類似リスト抽出部92は、比較対象の分類式をダンプDB91の分類式の1つと比較し、BUGCHECK CODEが一致しているか否かを判定する(ステップS12)。そして、BUGCHECK CODEが一致していない場合には、類似リスト抽出部92は、比較対象の分類式と類似していないと判定し、ダンプDB91から次の分類式を取り出して比較する。
As illustrated in FIG. 8, the similar
一方、BUGCHECK CODEが一致している場合には、類似リスト抽出部92は、比較対象の分類式とダンプDB91の分類式の1つを比較して比較結果をダンプDB91の情報とともに類似リスト63に記録する比較処理を行う(ステップS13)。そして、類似リスト抽出部92は、類似度に基づいて類似リスト63をソートするソート処理を行う(ステップS14)。
On the other hand, if the BUGCHECK CODEs match, the similarity
このように、類似リスト抽出部92は、ダンプDB91の分類式を1つずつ取り出し、比較対象の分類式と比較し、比較結果を類似リスト63に記録し、類似リスト63を類似度に基づいてソートする処理を繰り返すことで、類似リスト63を作成することができる。
As described above, the similarity
次に、比較処理のフローについて説明する。図9は、比較処理のフローを示すフローチャートである。図9において、S21とS24は、間に挟まれる処理を分類式の比較が終わるまでループすることを示す。 Next, the flow of comparison processing will be described. FIG. 9 is a flowchart showing the flow of the comparison process. In FIG. 9, S21 and S24 indicate that the processing sandwiched between them is looped until the comparison of the classification formulas is completed.
図9に示すように、類似リスト抽出部92は、比較位置の文字がCで、かつ、Cの後の3文字も一致するか否かを判定し(ステップS22)、比較位置の文字がCでないかCの後の3文字が一致しない場合には2つの分類式から各々次の文字を取り出して比較する。
As shown in FIG. 9, the similarity
一方、比較位置の文字がCで、かつ、Cの後の3文字が一致した場合には、類似リスト抽出部92は、現在までに一致した文字Cの個数と評価を類似リスト63にダンプDB91の情報とともに記録し(ステップS23)、次の文字を比較する。なお、類似リスト抽出部92は、比較位置の文字がCで、かつ、Cの後の3文字も一致した場合に、一致した文字Cの先頭からの距離に基づいて類似度についての点数の評価を行う。
On the other hand, if the character at the comparison position is C and the three characters after C match, the similar
このように、類似リスト抽出部92は、文字C及びCの後の3文字が一致するか否かを判定することにより、2つの分類式の類似度を評価することができる。
As described above, the similarity
次に、ソート処理のフローについて説明する。図10は、ソート処理のフローを示すフローチャートである。図10において、S32とS36は、間に挟まれる処理をソートが終わるまでループすることを示す。また、A及びBは、類似リスト63にあるエントリの情報であり、AがBと比較して類似性が高い位置にあるとする。
Next, the flow of sort processing will be described. FIG. 10 is a flowchart showing the flow of sort processing. In FIG. 10, S32 and S36 indicate that the process sandwiched between them is looped until the sorting is completed. Further, A and B are information of entries in the
図10に示すように、類似リスト抽出部92は、類似リスト63に2つ以上のエントリがあるか否かを判定し(ステップS31)、類似リスト63に2つ以上のエントリがない場合には処理を終了する。
As illustrated in FIG. 10, the similarity
一方、類似リスト63に2つ以上のエントリがある場合には、類似リスト抽出部92は、Aの一致した文字Cの個数がBより小さいか否かを判定し(ステップS33)、Aの一致した文字Cの個数がBより小さくない場合には、他のエントリの比較を行う。ここで、「一致した文字Cの個数」とは、文字C及びCの後の3文字が一致した個数である。
On the other hand, if there are two or more entries in the
一方、Aの一致した文字Cの個数がBより小さい場合には、類似リスト抽出部92は、Aの評価がBより低いか否かを判定し(ステップS34)、Aの評価がBより低くない場合には、他のエントリの比較を行う。
On the other hand, when the number of characters C with which A matches is smaller than B, the similarity
一方、Aの評価がBより低い場合には、類似リスト抽出部92は、Bの類似性が高くなるようにAとBの順序を入れ替える(ステップS35)。
On the other hand, when the evaluation of A is lower than B, the similarity
このように、類似リスト抽出部92は、類似リスト63を類似度に基づいてソートすることによって、類似リスト63を類似度の高い順に類似障害に関する情報が並べられたリストとすることができる。
As described above, the similarity
上述してきたように、実施例2では、分類式作成部81がダンプファイル61のスタック情報に基づいて分類式を作成し、分類式作成部81により作成された分類式に類似する分類式に対応する障害の情報を類似リスト抽出部92がダンプDB91から抽出する。そして、類似リスト抽出部92により抽出された障害の情報を類似リスト表示部84が表示する。したがって、障害解析支援システム7は、障害が発生した際に、類似する障害の情報を原因を含めて提供することができ、障害の解析を支援することができる。
As described above, in the second embodiment, the classification
なお、実施例2では、障害解析支援システム7が情報処理装置8と事例記憶装置9とを有する場合について説明した。しかしながら、事例記憶装置9の機能を情報処理装置8が備えることによって、情報処理装置8を障害解析支援装置としてもよい。
In the second embodiment, the case where the failure analysis support system 7 includes the
また、実施例1及び2では、情報処理装置及び事例記憶装置について説明したが、情報処理装置及び事例記憶装置の機能はプログラムによって実現することができる。そこで、プログラムを実行する情報処理装置のハードウェア構成について説明する。なお、事例記憶装置のハードウェア構成も同様である。 In the first and second embodiments, the information processing device and the case storage device have been described. However, the functions of the information processing device and the case storage device can be realized by a program. Therefore, a hardware configuration of the information processing apparatus that executes the program will be described. The hardware configuration of the case storage device is the same.
図11は、情報処理装置のハードウェア構成を示す図である。図11に示すように、情報処理装置70は、メインメモリ71と、CPU(Central Processing Unit)72と、LAN(Local Area Network)インタフェース73と、HDD(Hard Disk Drive)74とを有する。また、情報処理装置70は、スーパーIO(Input Output)75と、DVI(Digital Visual Interface)76と、ODD(Optical Disk Drive)77とを有する。
FIG. 11 is a diagram illustrating a hardware configuration of the information processing apparatus. As shown in FIG. 11, the information processing apparatus 70 includes a main memory 71, a CPU (Central Processing Unit) 72, a LAN (Local Area Network)
メインメモリ71は、プログラムやプログラムの実行途中結果などを記憶するメモリである。CPU72は、メインメモリ71からプログラムを読み出して実行する中央処理装置である。CPU72は、メモリコントローラを有するチップセットを含む。 The main memory 71 is a memory that stores a program, a program execution result, and the like. The CPU 72 is a central processing unit that reads a program from the main memory 71 and executes it. The CPU 72 includes a chip set having a memory controller.
LANインタフェース73は、情報処理装置70をLAN経由で他の情報処理装置に接続するためのインタフェースである。HDD74は、プログラムやデータを格納するディスク装置であり、スーパーIO75は、マウスやキーボードなどの入力装置を接続するためのインタフェースである。DVI76は、液晶表示装置を接続するインタフェースであり、ODD77は、DVDの読み書きを行う装置である。
The
LANインタフェース73は、PCIエクスプレスによりCPU72に接続され、HDD74及びODD77は、SATA(Serial Advanced Technology Attachment)によりCPU72に接続される。スーパーIO75は、LPC(Low Pin Count)によりCPU72に接続される。
The
そして、情報処理装置70によって実行されるプログラムは、DVDに記憶され、ODD77によってDVDから読み出されて情報処理装置70にインストールされる。あるいは、情報処理装置70によって実行されるプログラムは、LANインタフェース73を介して接続された他の情報処理装置のデータベースなどに記憶され、これらのデータベースから読み出されて情報処理装置70にインストールされる。そして、インストールされたプログラムは、HDD74に記憶され、メインメモリ71に読み出されてCPU72によって実行される。
The program executed by the information processing device 70 is stored in the DVD, read from the DVD by the
以上の実施例1〜2を含む実施形態に関し、さらに以下の付記を開示する。 The following appendices are further disclosed with respect to the embodiments including Examples 1 and 2 described above.
(付記1)障害が発生した際に、スタックに記憶された各エントリを分類することによって分類式を作成し、
作成した分類式と一致する分類式を過去の障害時に作成された分類式から探す
処理をコンピュータに実行させることを特徴とするダンプ出力抑止プログラム。
(Appendix 1) Create a classification formula by classifying each entry stored in the stack when a failure occurs,
A dump output suppression program that causes a computer to execute a process for searching for a classification formula that matches a created classification formula from classification formulas that were created in the event of a past failure.
(付記2)前記分類式を作成する処理は、前記スタックの情報を、1エントリずつ、実行モジュールに関する情報であるか実行モジュール以外に関する情報であるかに基づいて所定の文字に変換し、実行モジュールに関する情報である場合には所定の文字の後ろに実行モジュールの復帰アドレスの下位アドレスを付加することによって、エントリの順番に対応付けられた文字列を生成し、生成した文字列の先頭にエラーコードを付加して前記分類式を作成することを特徴とする付記1に記載のダンプ出力抑止プログラム。
(Additional remark 2) The process which produces the said classification formula converts the information of the said stack into a predetermined character based on whether it is the information regarding an execution module or information other than an execution module for every entry, and an execution module If the information is related to the entry, the lower address of the return address of the execution module is added after the specified character to generate a character string associated with the entry order, and the error code is added to the beginning of the generated character string. The dump output suppression program according to
(付記3)前記分類式を作成する処理は、前記スタックの情報を、1エントリずつ、実行モジュールに関する情報、スタックフレームに関する情報、プールに関する情報又はその他の情報に分類し、分類結果に基づいて所定の文字に変換することを特徴とする付記2に記載のダンプ出力抑止プログラム。 (Supplementary note 3) The process of creating the classification formula classifies the stack information into entries, information about an execution module, information about a stack frame, information about a pool, or other information, one entry at a time. The dump output suppression program according to appendix 2, wherein the dump output suppression program converts the character into a character.
(付記4)作成した分類式と一致する分類式を過去の障害時に作成された分類式から探せなかった場合にメモリダンプ出力を行い、作成した分類式と一致する分類式を過去の障害時に作成された分類式から探した場合にメモリダンプ出力を行わないことを特徴とする付記1、2又は3に記載のダンプ出力抑止プログラム。
(Appendix 4) When a classification formula that matches the created classification formula cannot be found from the classification formula created in the past failure, a memory dump is output, and a classification formula that matches the created classification formula is created in the past failure 4. The dump output suppression program according to
(付記5)コンピュータが、
障害が発生した際に、スタックに記憶された各エントリを分類することによって分類式を作成し、
作成した分類式と一致する分類式を過去の障害時に作成された分類式から探す
処理を実行することを特徴とするダンプ出力抑止方法。
(Appendix 5) The computer
Create a classification formula by classifying each entry stored in the stack when a failure occurs,
A dump output suppression method characterized by executing a process of searching for a classification formula that matches a created classification formula from a classification formula created at the time of a past failure.
(付記6)障害が発生した際に、スタックに記憶された各エントリを分類することによって分類式を作成する作成部と、
前記作成部により作成された分類式と一致する分類式を過去の障害時に作成された分類式から探す探索部と
を備えたことを特徴とする情報処理装置。
(Appendix 6) A creation unit that creates a classification formula by classifying each entry stored in the stack when a failure occurs;
An information processing apparatus comprising: a search unit that searches for a classification formula that matches the classification formula created by the creation unit from a classification formula created at the time of a past failure.
(付記7)障害が発生した際に、スタックに記憶された各エントリを分類することによって分類式を作成し、
作成した分類式と類似する分類式を過去の障害時に作成された分類式から探し、
探した分類式に対応付けられた障害原因を表示する
処理をコンピュータに実行させることを特徴とする障害解析支援プログラム。
(Supplementary note 7) When a failure occurs, a classification formula is created by classifying each entry stored in the stack,
Search for a classification formula similar to the one you created from the classification formulas created at the time of the past failure,
A failure analysis support program that causes a computer to execute a process of displaying a cause of a failure associated with a found classification formula.
(付記8)障害が発生した際に、スタックに記憶された各エントリを分類することによって分類式を作成し、
作成した分類式と類似する分類式を過去の障害時に作成された分類式から探し、
探した分類式に対応付けられた障害原因を表示する
処理をコンピュータに実行させるダンプ出力抑止プログラムを記憶したコンピュータ読み取り可能媒体。
(Supplementary note 8) When a failure occurs, a classification formula is created by classifying each entry stored in the stack,
Search for a classification formula similar to the one you created from the classification formulas created at the time of the past failure,
A computer-readable medium storing a dump output suppression program for causing a computer to execute a process for displaying a cause of failure associated with a searched classification formula.
(付記9)メモリと該メモリに接続されたCPUとを有する情報処理装置において、
前記CPUに、
障害が発生した際に、スタックに記憶された各エントリを分類することによって分類式を作成し、
作成した分類式と一致する分類式を過去の障害時に作成された分類式から探す
処理を実行させることを特徴とする情報処理装置。
(Supplementary Note 9) In an information processing apparatus having a memory and a CPU connected to the memory,
In the CPU,
Create a classification formula by classifying each entry stored in the stack when a failure occurs,
An information processing apparatus that executes a process of searching for a classification formula that matches a created classification formula from a classification formula created at the time of a past failure.
1,8 情報処理装置
2 ダンプ出力部
9 事例記憶装置
21 スタック
22,81 分類式作成部
23,91 ダンプDB
24 探索部
25 判定部
26 出力部
61 ダンプファイル
63 類似リスト
70 情報処理装置
71 メインメモリ
72 CPU
73 LANインタフェース
74 HDD
75 スーパーIO
76 DVI
77 ODD
82 分類式送信部
83 類似リスト受信部
84 類似リスト表示部
92 類似リスト抽出部
1,8 Information processing device 2
24 Search Unit 25
73
75 Super IO
76 DVI
77 ODD
82 Classification
Claims (6)
作成した分類式と一致する分類式を過去の障害時に作成された分類式から探す
処理をコンピュータに実行させることを特徴とするダンプ出力抑止プログラム。 Create a classification formula by classifying each entry stored in the stack when a failure occurs,
A dump output suppression program that causes a computer to execute a process for searching for a classification formula that matches a created classification formula from classification formulas that were created in the event of a past failure.
障害が発生した際に、スタックに記憶された各エントリを分類することによって分類式を作成し、
作成した分類式と一致する分類式を過去の障害時に作成された分類式から探す
処理を実行することを特徴とするダンプ出力抑止方法。 Computer
Create a classification formula by classifying each entry stored in the stack when a failure occurs,
A dump output suppression method characterized by executing a process of searching for a classification formula that matches a created classification formula from a classification formula created at the time of a past failure.
前記作成部により作成された分類式と一致する分類式を過去の障害時に作成された分類式から探す探索部と
を備えたことを特徴とする情報処理装置。 A creation unit that creates a classification formula by classifying each entry stored in the stack when a failure occurs;
An information processing apparatus comprising: a search unit that searches for a classification formula that matches the classification formula created by the creation unit from a classification formula created at the time of a past failure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014028893A JP2015153328A (en) | 2014-02-18 | 2014-02-18 | Dump output suppression program, dump output suppression method, and information processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014028893A JP2015153328A (en) | 2014-02-18 | 2014-02-18 | Dump output suppression program, dump output suppression method, and information processing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015153328A true JP2015153328A (en) | 2015-08-24 |
Family
ID=53895452
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014028893A Pending JP2015153328A (en) | 2014-02-18 | 2014-02-18 | Dump output suppression program, dump output suppression method, and information processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015153328A (en) |
-
2014
- 2014-02-18 JP JP2014028893A patent/JP2015153328A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11042464B2 (en) | Log record analysis based on reverse engineering of log record formats | |
JP6737151B2 (en) | Synonym expression extraction device, synonym expression extraction method, and synonym expression extraction program | |
US9773047B2 (en) | Foreign organization name matching | |
US11487535B2 (en) | Ranking of software code parts | |
US9733906B2 (en) | User interface area coverage | |
US11113137B2 (en) | Error incident fingerprinting with unique static identifiers | |
CN104636130A (en) | Method and system for generating event trees | |
US10379992B2 (en) | Adaptive dynamic code analysis | |
CN105630763A (en) | Method and system for making mention of disambiguation in detection | |
US9558462B2 (en) | Identifying and amalgamating conditional actions in business processes | |
Lee et al. | Systematic review of bug report processing techniques to improve software management performance | |
US9563635B2 (en) | Automated recognition of patterns in a log file having unknown grammar | |
WO2007007410A1 (en) | Message analyzing device, message analyzing method and message analyzing program | |
US20180173687A1 (en) | Automatic datacenter state summarization | |
JP4954674B2 (en) | Software development support method, software development support device, software development support program, and computer system | |
JP6120607B2 (en) | Requirement detection apparatus and requirement detection program | |
US9286349B2 (en) | Dynamic search system | |
US11669430B2 (en) | Performance information visualization apparatus, performance information visualization method, and non-transitory computer-readable storage medium | |
JP2015153328A (en) | Dump output suppression program, dump output suppression method, and information processing device | |
JP2018185601A (en) | Information processing apparatus and information processing program | |
JP2019148859A (en) | Device and method supporting discovery of design pattern in model development environment using flow diagram | |
JP6497199B2 (en) | Program test prioritization system | |
JP2018181121A (en) | Analyzer, analysis program, and analysis method | |
JP2018028776A (en) | Software asset management device, software asset management method, and software asset management program | |
JP6646699B2 (en) | Search device and search method |