> 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での方法とは異なります。 この記事では、各PlatformでCollectorがどのようにしてアプリケーションが応答していないイベントを測定するか説明します。

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

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

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

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

コレクタはこの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:

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

The question should be specific, self-contained, and written in natural language.
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.
