reportFatalErorr call with errorCode 'ERR_THREAD_WATCHER' and error Message 'Issue detected for UploaderThreadsWatcher' in vCloud Usage Meter 4.8
book
Article ID: 367515
calendar_today
Updated On:
Products
VMware Usage Meter
Issue/Introduction
Usage Meter has one or more issues as described below:
Constant restarts due to issues in watcher threads.
Inability to check "Send Update to CPN" (test cloud connectivity)
Inability to view Notifications page, including, but not limited to slow UI page rendering and error banners
Large journal logs db file (/opt/vmware/cloudusagemetering/platform/data/journal-service.db)
OOM (out of memory - java.lang.OutOfMemoryError) exceptions in /opt/vmware/cloudusagemetering/platform/log/vmware-um-journal.log fileusage
You also see the below error in the vmware-um-journal.log
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"}
Environment
vCloud Usage Meter 4.8
VMware Usage Meter 9.0.0.0
Cause
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.
Resolution
To resolve the issue, please follow the below:
Login in vCloud Usage Meter Appliance Console (via SSH or using remote console) as usagemeter