Interview Prep/Linux/Processes, memory and OOM

A program crashes with `Segmentation fault (core dumped)` but you can't find the core file.

IntermediateTroubleshootingProcesses, memory and OOM
Answer

Likely causes → systemd-coredump captures cores into the journal storage, or ulimit -c 0 disables them.

Diagnose →

cat /proc/sys/kernel/core_pattern
coredumpctl list
ulimit -c

Fix → coredumpctl info <PID> for the stack, coredumpctl debug <PID> to open in gdb, coredumpctl dump <PID> -o core.file to export.

Prevent → Keep systemd-coredump storage limits (/etc/systemd/coredump.conf) sensible, and install debuginfo in staging.

All Linux questions Roadmap: Linux

More on Processes, memory and OOM