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
Resolution
Make the following modifications to generate the core dump file without any truncation.
Follow these steps:
- Log in to the server as "root".
- 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
- Execute the following command: sysctl -p
Feedback
Was this article helpful?
thumb_up
Yes
thumb_down
No