LoginSignup
3
6

More than 5 years have passed since last update.

KB2144950 の対策にはcloudvm-ram-sizeコマンドを使う

Posted at

vCenter Server Appliance 6.0を使用していると簡単に発生するKB2144950の現象。

対処として
cloudvm-ram-size -C <XXX> vsphere-client
のコマンドを使用してvsphere-clientサービスのヒープサイズの上限を大きくすると書いてあるが、どのくらいの値を設定すべきかの基準となる情報が書かれていなくて困る。

そんなときには、"cloudvm-ram-size -S"コマンドを使用すると現在のヒープサイズ(CurrentMB)やこれまでの最大ヒープサイズ(MaxMB)が確認できるので、これを参考に設定すべき値を検討することができる。

# cloudvm-ram-size -S | grep -e Service-Name -e vsphere-client
Service-Name            AllocatedMB     MaxMB CurrentMB  Curr-RSS    Cache  MapFiles   MemoryLimit
vsphere-client                  853      1046      1045       752      293         0 8796093022207

※このコマンド例はVCSA6.5で実行していますが、VCSA6.0でも同じような結果が出ます。

また、このコマンドは10分に1回自動的に実行されており、その結果は/storage/log/vmware/cloudvm/cloudvm-ram-size-outputから参照できる。

========== Start of cloudvm ram size dump at Mon Jun 12 14:30:01 UTC 2017 ==========

/usr/sbin/cloudvm-ram-size -S
Service-Name            AllocatedMB     MaxMB CurrentMB  Curr-RSS    Cache  MapFiles   MemoryLimit
・・・中略・・・
vsphere-client                  853      1046      1045       752      293         0 8796093022207

※こちらもVCSA6.5の例ですがVCSA6.0でも同じような結果が出ます。

■参考■
vCenter Server 6.0: vmware-dataservice-sca and vsphere-client status change from green to yellow
Dynamic memory resizing for vCenter Server 6.0

- 
3
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
6