healthd.log に、'Broken pipe' や 'Failed to write to response stream' という無害なエラーが記録される
search cancel

healthd.log に、'Broken pipe' や 'Failed to write to response stream' という無害なエラーが記録される

book

Article ID: 443038

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

免責事項: これは英文の記事 「Benign 'Broken pipe' and 'Failed to write to response stream' errors in healthd.log」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。

VMware ESXi では、/var/run/log/healthd.log に以下のエラーメッセージが頻繁に表示されます。

[timestamp] Er(163) healthd[######]: [Originator@#### sub=healthdEndpoint.HTTPService] Failed to write to response stream; <io_obj p:0x000000######, h:##, <UNIX 'vmwLocalSocketHealthd'>, <UNIX ''>>, N7Vmacore15SystemExceptionE(Broken pipe: The communication pipe/socket is explicitly closed by the remote service.)
[timestamp] Er(163) healthd[######]: --> [context]###################################[/context]
[timestamp] Er(163) healthd[######]: [Originator@#### sub=HealthdHandler] Failed to write to response stream : System exception while transmitting HTTP Response:
[timestamp] Er(163) healthd[######]: --> error id = 32
[timestamp] Er(163) healthd[######]: -->

Cause

Broadcomはこの問題の根本原因を調査しています。 サポートが必要な場合は、サポートリクエストと、trivia ログを有効にした状態でエラーが発生したログバンドルを送信してください。

trivia ログを有効にする方法

  1. SSH 経由で ESXi に接続します。
  2. 以下のコマンドを実行します。
    configstorecli config default get -c esx -g health -k healthd > config.json
  3. vi などのコマンドを使用して、出力された config.json ファイルを編集します。

    編集前)
       "log": {
          "directory": "/var/run/log/",


    編集後)
       "log": {
          "directory": "/var/run/log/",
          "level": "trivia",
  4. 以下のコマンドを実行します。
    configstorecli config current set -c esx -g health -k healthd -infile config.json
    /etc/init.d/health restart
    rm config.json

Resolution

このログ出力は無害です。
これは単に、HTTPリクエストの送信元がサーバー(healthdサービス)からの正常な 200 OK 応答を待たずに終了したことを示しているだけであり、無視しても問題ありません。