File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,19 @@ CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
7575These settings will enable the kernel to generate coredumps, as well as set the
7676default mappings that are present in the coredump. ` man core ` [ ^ man_core ]
7777provides a good overview of the options available to you when configuring
78- coredumps.
78+ coredumps. It's worth noting that these options are enabled for most distros by
79+ default.
80+
81+ In addition the kernel configuration, you'll need to set the ` ulimit ` for the
82+ process that you want to capture a coredump for. The ` ulimit ` command is used to
83+ set the resource limits for a process. The ` core ` resource limit is the one
84+ we're interested in. This sets the maximum size of a coredump that can be
85+ generated by a process. To make things easy, you can set it to unlimited with
86+ the following command:
87+
88+ ``` bash
89+ ulimit -c unlimited
90+ ```
7991
8092### ` core_pattern `
8193
You can’t perform that action at this time.
0 commit comments