> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/platform/ja/references/database-information-and-organization/application-not-responding.md).

# アプリケーションが応答しない

macOS 用の Collector は、Windows 用の Collector とほぼ同じ方法で、デバイスから「アプリケーションが応答しない」イベントを記録します。ユーザー入力に応答しないアプリケーションは、従業員の全体的なExperienceに悪影響を与えるため、Digital Experience Score (DEX)の重要な部分となります。 [DEXスコア](/platform/ja/user-guide/dex-score.md)のドキュメントを参照してください。

macOS でアプリケーションが応答していないかどうかを判定するために Collector が使用する手法は、Windows で使用される方法とは異なります。この記事では、Collector が各プラットフォームでアプリケーションが応答しないイベントをどのように測定するかについて説明します。

### Windowsでのアプリケーションが応答しない <a href="#applicationnotresponding-applicationnotrespondingonwindows" id="applicationnotresponding-applicationnotrespondingonwindows"></a>

Windows では、Collector は開いているウィンドウにメッセージを送信して、アプリケーションの応答性を定期的に確認します。アプリケーションがこれらのメッセージを適時に処理しない場合、システムは新しい「アプリケーションが応答しない」イベントを作成します。

Windows で応答しないアプリケーションを検出するために、Nexthink Collector は Windows API `IsHungAppWindow` を使用します。[マイクロソフトのドキュメント](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-ishungappwindow)によると、アプリケーションは以下の場合に応答がないと見なされます：

* 入力を待っていない場合。
* 起動処理を行っていない場合。
* 内部的な5秒間のタイムアウト期間内に `PeekMessage` 関数を呼び出していない場合。

Collector はこの API を 30 秒ごとにサンプリングし、アプリケーションが 5 秒間のウィンドウ内に新しいユーザー入力を確認できない場合にのみ、アプリケーションのフリーズを報告します。このアプローチにより、Nexthink はユーザー操作に迅速に応答しないアプリケーションを特定できます。

アプリケーションのフリーズには、メインUIスレッドでの過剰な処理など、複数の原因が考えられます。開発者による計装に依存するアプリケーションログとは異なり、この検出メカニズムはアプリケーションログとは独立して機能します。アプリケーションログは通常、重大な障害のみを記録します。このアプローチでは、アプリケーションが実行を継続していても応答が遅い場合を含め、完全なフリーズと短時間の無応答の両方を一貫して特定します。

### macOSでのアプリケーションが応答しない <a href="#applicationnotresponding-applicationnotrespondingonmacos" id="applicationnotresponding-applicationnotrespondingonmacos"></a>

macOSでは、Collectorはオペレーティングシステムログを参照することで、アプリケーションが応答していないかどうかを確認します。ただし、macOS が無応答を報告するのは、ユーザーがアプリケーションを強制終了した後のみです。

たとえば、アプリケーションが一時的に応答しなくなっても最終的に復旧した場合、従業員がアプリケーションを強制終了しない限り、Collector はそのアプリケーションを「応答しない」として報告しません。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.nexthink.com/platform/ja/references/database-information-and-organization/application-not-responding.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
