Core file truncated on Linux
search cancel

Core file truncated on Linux

book

Article ID: 116751

calendar_today

Updated On: 08-05-2020

Products

Spectrum

Issue/Introduction

When trying to analyze a core file from Linux, the core file is not able to be analyzed because it is truncated.

Environment

Core file on Linux

Cause

This is a issue with Linux. Reference https://bugzilla.redhat.com/show_bug.cgi?id=759213

Resolution

Make the following modifications to generate the core dump file without any truncation.

Follow these steps:

  1. Log in to the server as "root".
  2. Enter the following text into/etc/sysctl.conf:
    • # new core pattern (https://bugzilla.redhat.com/show_bug.cgi?id=759213)
    • kernel.core_pattern = core.%p
  3. Execute the following command: sysctl -p