Hitachi

uCosminexus Application Server Maintenance and Migration Guide


3.3.16 Settings for Acquiring a Core Dump

This section describes the settings for acquiring core dumps in UNIX.

Important note

Depending on the Linux specifications, the size information in the core file might be invalid.

Organization of this subsection

(1) Setting the maximum size of core files

The maximum size of core files may be 0 depending on the operation environment of the system. In such cases, core dumps of processes cannot be acquired. Therefore, you need to set in advance the maximum size of core files to infinite. To set the maximum size of core files to infinite, specify the option in the JavaVM startup parameter in the Easy Setup definition file or the option definition file, or execute shell commands.

Note that the larger the memory pool size specified in the JavaVM startup parameter in the Easy Setup definition file or option definition file, the larger the core file size will be, so secure sufficient free disk space.

Also, in addition to these settings, we recommend that you execute the shell commands to set the maximum file size to unlimited.

Reference note

Formula for estimating the core file size

The core file size, generated when a JavaVM process is down, is equal to the amount of virtual memory used. For details on the formula for the virtual memory usage, see the following manuals. The disk, which contains the current directory of the JavaVM process where the core file is generated, must always have free space greater than this core file size.

  • For the J2EE application execution platform

    5.3 Estimating memory used for each process in the uCosminexus Application Server System Design Guide

  • For the batch application execution platform

    6.3 Estimating virtual memory usage in the uCosminexus Application Server System Design Guide

  • For Management Server and Administration Agent

    5.3 Estimating memory used for each process in the uCosminexus Application Server System Design Guide and the standard memory requirements used by Cosminexus Component Container in the Release Notes.

(2) Setting the maximum number of files for core files