Skip to content

Commit 3254be0

Browse files
committed
Add section on ulimit
1 parent 064ea0a commit 3254be0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

_posts/2025-02-13-linux-coredumps-part-1.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,17 @@ default mappings that are present in the coredump. `man core`[^man_core]
7777
provides a good overview of the options available to you when configuring
7878
coredumps.
7979

80+
In addition the kernel configuration, you'll need to set the `ulimit` for the
81+
process that you want to capture a coredump for. The `ulimit` command is used to
82+
set the resource limits for a process. The `core` resource limit is the one
83+
we're interested in. This sets the maximum size of a coredump that can be
84+
generated by a process. To make things easy, you can set it to unlimited with
85+
the following command:
86+
87+
```bash
88+
ulimit -c unlimited
89+
```
90+
8091
### `core_pattern`
8192

8293
The kernel provides an interface for controlling where and how coredumps are

0 commit comments

Comments
 (0)