SAP Knowledge Base Article - Preview

3515371 - SAP Cloud Connector - Getting CPU usage failed java.io.IOException: A counter with a negative denominator value was detected.

Symptom

Below warnings are noticed in the ljs_trace or the scc_core.trc files of the SAP Cloud Connector:

<date:timestamp> +0200#WARN#com.sap.scc.monitor#scc-historic-values-collector-1#          #getting CPU usage failed
java.io.IOException: A counter with a negative denominator value was detected.
in PdhGetFormattedCounterValue(cpuTotal)
  at com.sap.scc.jni.HardwarePerfMon.getCPU(Native Method)
  at com.sap.scc.jni.HardwarePerfMon.getCPU_inPercent(HardwarePerfMon.java:155)
  at com.sap.scc.jni.HardwareMonitor.getCpuUsage(HardwareMonitor.java:84)
  at com.sap.scc.jni.HardwareMonitor.getOverview(HardwareMonitor.java:147)
  at com.sap.scc.metering.history.HistoryCollector$1.getCurrentValue(HistoryCollector.java:69)
  at com.sap.scc.metering.history.HistoryCollector$1.getCurrentValue(HistoryCollector.java:65)
  at com.sap.scc.metering.history.HistoryCollector.run(HistoryCollector.java:94)
  at java.util.TimerThread.mainLoop(Timer.java:564)
  at java.util.TimerThread.run(Timer.java:514)
<date:timestamp> +0200#WARN#com.sap.scc.monitor#scc-historic-values-collector-1#          #recurring failure to get CPU usage will not be logged


Read more...

Environment

SAP Cloud Connector 

Product

CONNECTOR FRAMEWORK all versions

Keywords

CPU, getting CPU usage failed, A counter with a negative denominator value was detected, Hardware Metrics, Cloud Connector, negative, alert, warning , KBA , BC-MID-SCC , SAP Cloud Connector On-Demand/On-Premise Connectivity , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.