Memory dumps on Data Flow Probe server, causing DFP crashing

  • KM03774672
  • 03-Feb-2021
  • 10-Feb-2021

Summary

The very frequent and consistent memory dumps being created in the "\\DataFlowProbe\bin" folder on dataflow probe server.

Question

ucmdb is upgraded into 2020.08, there are very frequent and consistent memory dumps being created in the "\<instaled path>\DataFlowProbe\bin" folder on dataflow probe server.
Those memory dump files are in this folder :\<installed path>\DataFlowProbe\bin.


For example:
hs_err_pid2608.mdmp;
hs_err_pid4664.mdmp;
hs_err_pid5332.mdmp;

Answer

Regarding memory dump logs, for example hs_err_pid3112.log, the following information is found:

 Stack: [0x000000001cc30000,0x000000001cd30000],    sp=0x000000001cd2f018,    free space=1020k
 Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
 C    0x0000000180003b10
   
 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
 j    com.sun.jna.Memory.free(J)V+0
 j    com.sun.jna.Memory.finalize()V+4
 J 3563 C2 java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;Lsun/misc/JavaLangAccess;)V (6 bytes) @ 0x0000000001934d94 [0x0000000001934bc0+0x1d4]
 j    java.lang.ref.Finalizer$FinalizerThread.run()V+45

Data Flow Probe is using ancient version of JNA.
The new version of JNA should be used(Attached jna-5.6.0.jar).

• Steps:

1. Go to the folder: <installed path>\DataFlowProbe\lib

2. Create a new folder, the new fold name should be: remote
   Then put jna-5.6.0.jar in this new folder.
   The folder structure should be: <installed path>\DataFlowProbe\lib\remote\jna-5.6.0.jar
 

3. Go to <installed path>\DataFlowProbe\conf\DataFlowProbeOverride.properties.

      Find the parameter: basic_discovery_minimal_classpath.

      Change the value from

basic_discovery_minimal_classpath=../classes/;../conf;../lib/jgroups.jar;../lib/jna.jar;../lib/key-management.jar;
        
To

basic_discovery_minimal_classpath=../classes/;../conf;../lib/jgroups.jar;../lib/remote/jna-5.6.0.jar;../lib/key-management.jar;

4. Copy classes of HF_OCTIM19U1142652.zip into the folder <installed path>\DataFlowProbe.
 The folder structure should be <installed path>\DataFlowProbe\classes\HF_OCTIM19U1142652\com\hp\ucmdb\discovery\probe\agents\probemgr\taskexecuter\remote\RemoteProcess*.class
 
5. Start probe.