apm_bridge probe caught in restart loop
search cancel

apm_bridge probe caught in restart loop

book

Article ID: 240600

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

We just upgraded our UIM to version 20.4.0 and we have the apm_bridge at version 1.0.7.  The apm_bridge gets an error after start up but appears to run for a few mins and then restarts itself.

Errors include:

ERROR [ForkJoinPool-1-worker-9, apm_bridge] Exception in findDuplicateVerticesAttributes: com.fasterxml.jackson.core.io.JsonEOFException: Unexpected end-of-input in VALUE_STRING 
 at [Source: [email protected]; line: 553640, column: 1569] 

ERROR [ForkJoinPool-1-worker-9, apm_bridge] Invalid start to object 


ERROR [ForkJoinPool-1-worker-9, apm_bridge] java.lang.NullPointerException 
 at com.uim.probe.bridge.apm.topology.TopologyTransformer.findCIinCacheFile(TopologyTransformer.java:383) 
 at com.uim.probe.bridge.apm.topology.TopologyTransformer.harvestCI(TopologyTransformer.java:209) 
 at com.uim.probe.bridge.apm.topology.TopologyTransformer.transform(TopologyTransformer.java:159) 
 at com.uim.probe.bridge.apm.inventory.APMInventoryService.processTopology(APMInventoryService.java:419) 
 at com.uim.probe.bridge.apm.inventory.APMInventoryService.inventoryProcessWithoutCsFilter(APMInventoryService.java:382) 
 at com.uim.probe.bridge.apm.inventory.APMInventoryService.lambda$runOneIteration$0(APMInventoryService.java:205) 
 at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402) 
 at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) 
 at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) 
 at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) 
 at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) 

FATAL [ForkJoinPool-2-worker-9, apm_bridge] Unhandled exception occurred. Stopping probe 
java.lang.OutOfMemoryError: GC overhead limit exceeded 
 at java.lang.String.toCharArray(String.java:2899) 
 at org.apache.commons.lang3.math.NumberUtils.isNumber(NumberUtils.java:1341) 
 at com.uim.probe.bridge.apm.topology.TopologyTransformer.lambda$harvestCI$2(TopologyTransformer.java:219) 
 at com.uim.probe.bridge.apm.topology.TopologyTransformer$$Lambda$29/1281575422.accept(Unknown Source) 
 at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) 
 at com.uim.probe.bridge.apm.topology.TopologyTransformer.harvestCI(TopologyTransformer.java:218) 
 at com.uim.probe.bridge.apm.inventory.APMInventoryService$$Lambda$14/1738548581.run(Unknown Source) 

 

Environment

Release : 20.4

Component : UIM - APMGTW

Resolution

The probe is running out of memory.

In the apm_bridge.cfg this is set here:

<startup>
   options = -Xms32m -Xmx1g -Dfile.encoding=UTF-8
</startup>

An example of doubling the memory from 1gb to 2gb allocated:

<startup>
   options = -Xms32m -Xmx2g -Dfile.encoding=UTF-8
</startup>

You will want to deactivate the probe, wait for it to lose the port and PID, and then make this change and activate it.