vCenter Server で "vsphere-ui status changed from green to yellow" というアラームが発生する。
search cancel

vCenter Server で "vsphere-ui status changed from green to yellow" というアラームが発生する。

book

Article ID: 410930

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

免責事項:これは英文の記事 vCenter Server shows alarms "vsphere-ui status changed from green to yellow" の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。


Symptoms:

  • vsphere-ui のステータスが yellow となったことを示す "vSphere UI 健全性アラーム" が発生する。
  • /var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log に次のログが出力される。
    [YYYY-MM-DDTHH:mm:SS.SSSZ] [WARN ] health-status-73              com.vmware.vise.vim.cm.healthstatus.AppServerHealthService        Memory usage: used=566,946,048; max=629,669,888; percentage=90.03861528153621%. Status: YELLOW         
    [YYYY-MM-DDTHH:mm:SS.SSSZ] [INFO ] health-status-73              c.v.v.v.cm.HealthStatusRequestHandler$HealthStatusCollectorTask   Determined health status 'YELLOW: [(vmodl.LocalizableMessage) {
       dynamicType = null,
       dynamicProperty = null,
       key = webclient.memory.lowheap,
       arg = null,
       message = The server is running low on heap memory (>90% utilized.)
    }]' in 31 ms

Environment

VMware vCenter Server 7.x

VMware vCenter Server 8.x 

Cause

これは vsphere-ui のヒープメモリの使用率が 90% を超えたことを示します。

自動的に回復する可能性があります。

Resolution

Workaround:
回避策として、vsphere-ui サービスを再起動します。

service-control --restart vsphere-ui

問題が継続する場合、または再発した場合は、vsphere-uiのヒープメモリを手動で増やしてください。
詳細については Manually increasing the heap memory を参照してください。

Additional Information

vsphere-ui サービスのメモリ消費量は、vCenter Server の規模、インベントリのスケール、使用されているプラグインの数や種類など多くの要因に依存します。
各サービスの初期ヒープサイズは、システム起動時に cloud-ram-size -l のコマンド結果に基づき決定されますが、初期割り当てが各環境の要件を十分に満たさない場合は、調整が必要になることがあります。