Usage Meter has one or more issues as described below:
ERROR --- [nginx-clojure-worker-1] com.vmware.um.umconnection.api.Journal : Unable to retrieve the Journal logs.
com.vmware.um.common.err.UmException: Unable to call service at https://localhost:8051/api/v2/journal/search-results: 500 - {"timestamp":"2024-03-12T09:47:47.256+00:00","status":500,"error":"Internal Server Error","path":"/api/v2/journal/search-results"}
vCloud Usage Meter 4.8
VMware Usage Meter 9.0.1
Due to the current nature of the journal logs and Notifications UI page, in case there is a large number of journal log messages (more than 500k), spontaneous OOM exceptions can occur. In this case consider decreasing the retention policy of the journal messages from 3 years (by default) to 6 months.
To resolve the issue, please follow the below:
cp /opt/vmware/cloudusagemetering/platform/bin/start-journal-service.sh /opt/vmware/cloudusagemetering/platform/bin/start-journal-service.sh.bkexport JAVA_OPTS="${JAVA_OPTS} -Djournal-service.cleanup.retention-period=P6M"sudo reboot
Also, you can increase the memory from 512M to 1536M in the same file /opt/vmware/cloudusagemetering/platform/bin/start-journal-service.sh