IBM Support

How can the location of the Javacores or Heap dumps be changed

Troubleshooting


Problem

Due to limited disk space or large dump files, it is sometimes necessary to change the location of the Javacores, Heap dumps, and Snap traces generated by IBM Cognos BI.

Cause

By default, the core files from the Java process will be written to the <cognos>/bin64 or <cognos>/bin directory. Core files from C language programs write to the directory specified by Linux kernel parameters. This would include the CAM_LPSvr and BIBusTKServerMain processes.

Environment

These steps apply to supported Linux systems using IBM Java. For other versions of Java, consult the vendor's documentation.

Resolving The Problem

The locations of the javacore files can be controlled by setting environmental variables for the user who starts IBM Cognos.
IBM_JAVACOREDIR --controls the location of javacore files
IBM_HEAPDUMPDIR --controls the location of heap dumps
IBM_COREDIR --controls the location of C core and snap files

Example values for these variables
IBM_JAVACOREDIR=/dumps
IBM_HEAPDUMPDIR=/dumps
IBM_COREDIR=/dumps

Related Information

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Cognos Administration","Platform":[{"code":"PF016","label":"Linux"}],"Version":"10.2.2;10.2.1;10.2;10.1.1;10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018

UID

swg21903567