Hitachi

JP1 Version 12 for UNIX Systems JP1/Performance Management - Agent Option for Platform Description, User's Guide and Reference


4.2.6 Preparations for collecting data in the event of a failure

When a problem occurs, you might need to acquire a core dump file to determine the cause of the problem. Output of a core dump file depends on the user's environment settings, so check the following settings before a problem occurs.

Size setting for core dump files

The maximum size of a core dump file is limited by the root user's size setting for a core dump file (ulimit -c). Try setting the script as follows:

ulimit -c unlimited

If this setting violates a security policy for the machine being used, change this script setting into a comment line, as shown below:

# ulimit -c unlimited
Important

If this setting is specified in a comment line, it might become impossible to investigate the cause of a failure, because core dumps will not be output at times when core dump files are supposed to be output, such as when a segmentation fault or path error occurs in a process.

Kernel parameter settings pertaining to core dumps (Linux only)

If the Linux kernel parameter (kernel.core_pattern) is used to change a core dump file's output destination or file name from the default value, it might become impossible to collect core dumps. For this reason, we recommend that you not change the settings of the Linux kernel parameter (kernel.core_pattern).