Symptoms
When ws_MessageBusService.exe is down due to OufOfMemory, you will observe the following issue.
The affected Connection Server status is red in View Administrator dashboard on other Connection Servers.The dashboard on the affected Connection Server is not accessible, while other Connection Servers are fine.The issue starts by restarting Connection Server.Restarting the affected Connection Server does not help.You can see the following output in debug log of Connection Server during the problem.
<logloaded> [MessageFrameWork] Program 'ws_MessageBusService - VMware Horizon View Java Component Service' started, version=7.4.0 build-7400497, pid=0x1230, buildtype=release, usethread=1, closeafterwrite=0, sessionId=0
<console-redirection> [ws_MessageBusService] STDOUT: ... startup: Store Swiftlet
<console-redirection> [ws_MessageBusService] STDOUT: +++ RecoveryManager/restarting, processing transaction log...
<console-redirection> [ws_MessageBusService] STDOUT: +++ RecoveryManager/restart, 10% so far...
<4988> [ws_java_bridgeDLL] java.lang.OutOfMemoryError: Java heap space
<4988> [ws_java_bridgeDLL] Dumping heap to C:\ProgramData\VMware\VDM\Dumps\java_pid4656.hprof ...
<4988> [ws_java_bridgeDLL] Heap dump file created [10884344 bytes in 0.091 secs]
'ws_MessageBusSerive' started with PID=0x1230 finally resulted java.lang.OutOfMemoryError.
During this period, you can also observe RecoveryManager is processing the transaction log.
Cause
This is caused by the corruption of the following files:C:\Program Files\VMware\VMware View\Server\messagebus\store\log\transaction.logC:\Program Files\VMware\VMware View\Server\messagebus\store\db\page.db
Impact / Risks
There could be loss of some Event data while performing this operation.
Resolution
This matter is resolved in 7.10.3 7.13, 8.0 . If you are on a earlier release please be aware of Log4j CVE-2021-44228 and CVE-2021-45046 in VMware Horizon and VMware Horizon Agent (on-premises) (87073)
Workaround
To resolve the issue, remove the following files and restart the Connection Server.C:\Program Files\VMware\VMware View\Server\messagebus\store\log\transaction.logC:\Program Files\VMware\VMware View\Server\messagebus\store\db\page.db