Core file truncated on Linux

Document ID : KB000116751
Last Modified Date : 02/10/2018
Show Technical Document Details
Issue:
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