Data Collector fails to run post upgrade
search cancel

Data Collector fails to run post upgrade

book

Article ID: 367585

calendar_today

Updated On:

Products

DX NetOps CA Performance Management - Usage and Administration

Issue/Introduction

After upgrading the Data Collector (DC) it fails to stay running.

The $DC_HOME/IMDataCollector/apache-karaf/data/karaf.out file shows errors like this.

# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 8657043456 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /opt/CA/IMDataCollector/apache-karaf-4.4.3/hs_err_pid2538441.log

Environment

All supported DX NetOps Performance Management Data Collector releases 23.3.8 and newer using Java 17.

Cause

Java 17 won't run if it's memory allocation is higher than the systems available memory.

In this instance the IM_MAX_MEM was set to use 50 GB of RAM where the system only has 16 GB available.

Differences in how Java 11 and Java 17 manage and utilize memory. Issue was not able to be seen in releases using Java 11 but the changes to Java 17 allow it to expose the problem.

Resolution

Ensure the $DC_HOME/IMDataCollector/apache-karaf/bin/setenv and /opt/DCM.cfg files have a correct IM_MAX_MEM value set. Ensure it's lower than the systems available memory.

More specific on determining the value to set, and how to set it, are found in the Modify Maximum Memory Usage for the Data Aggregator and Data Collector documentation topic.

Additional Information

This is being resolved in a future release via defect DE602532. No ETA is available at this time. Monitor updates to the Fixed Issues documentation for an entry referencing DE602532.