coredumpctl is unable to retrieve a coredump from the journal
This document (7023161) is provided subject to the disclaimer at the end of this document.
Environment
Situation
...Cannot retrieve coredump from journal nor disk.
Coredump retrieval failed: No such file or directory...
Resolution
LimitCORE=infinity
sysctl -w kernel.suid_dumpable=2
Cause
Additional Information
:~ # cat /proc/$(pidof <insert_service_name>)/limitsLimit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 8388608 unlimited bytes
Max core file size unlimited unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 63216 63216 processes
Max open files 1048576 1048576 files
Max locked memory 65536 65536 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 63216 63216 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us
:~ # grep core /proc/$(pidof <insert_service_name>)/limitsMax core file size unlimited unlimited bytes
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7023161
- Creation Date: 09-Jul-2018
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com