vcenter页面中查看监控数据后,偶尔页面卡死无响应,重启webphere服务恢复
如果是vcenter安装时,配置的内存规格小了,可以酌情增加webphere服务的内存大小。
vCenter Server Appliance:
Use SSH to connect to the VCSA as root and enter the Bash shell by typing shell and pressing Enter
Run the following command to output memory assigned to each of the services:
cloudvm-ram-size -l
Increase the amount of memory assigned to the services by running the following command, using the vCenter HTML5 web client (or “vsphere-ui”), as an example:
cloudvm-ram-size -C XXXX vsphere-ui
Note: XXXX should be replaced with the desired amount of memory in MB.
For example, this command would increase the memory of the vsphere-ui service from 768 MB to 2048 MB.
cloudvm-ram-size -C 2048 vsphere-ui
There is no “one size fits all” memory value to set in this scenario, however - as a guide, double the size of currently assigned memory of the service that has an issue. This may need to be repeated.
Restart the service that has been altered, in this example - vsphere-ui:
service-control --stop vsphere-ui;service-control --start vsphere-ui;
Confirm that the service has now been allocated the increased memory by using this command:
cloudvm-ram-size -l