summaryrefslogtreecommitdiff
path: root/sysctl.d
diff options
context:
space:
mode:
Diffstat (limited to 'sysctl.d')
-rw-r--r--sysctl.d/50-coredump.conf.in17
1 files changed, 8 insertions, 9 deletions
diff --git a/sysctl.d/50-coredump.conf.in b/sysctl.d/50-coredump.conf.in
index 4338756efd..2ffc1cb0fb 100644
--- a/sysctl.d/50-coredump.conf.in
+++ b/sysctl.d/50-coredump.conf.in
@@ -15,15 +15,14 @@
# See systemd-coredump(8) and core(5).
kernel.core_pattern=|@rootlibexecdir@/systemd-coredump %P %u %g %s %t %c %h
-# Allow that 16 coredumps are dispatched in parallel by the kernel. We want to
-# be able to collect process metadata from /proc/%P/ while processing
-# coredumps, and thus need to make sure the crashed processes are not reaped
-# until we finished collecting what we need. The kernel default for this sysctl
-# is "0" which means the kernel doesn't wait for userspace processes to finish
-# processing before reaping the crashed processes — by setting this higher the
-# kernel will delay reaping until we are done, but only for the specified
-# number of crashes in parallel. The value of 16 is chosen to match
-# systemd-coredump.socket's MaxConnections= value.
+# Allow 16 coredumps to be dispatched in parallel by the kernel.
+# We collect metadata from /proc/%P/, and thus need to make sure the crashed
+# processes are not reaped until we have finished collecting what we need. The
+# kernel default for this sysctl is "0" which means the kernel doesn't wait for
+# userspace to finish processing before reaping the crashed processes. With a
+# higher setting the kernel will delay reaping until we are done, but only for
+# the specified number of crashes in parallel. The value of 16 is chosen to
+# match systemd-coredump.socket's MaxConnections= value.
kernel.core_pipe_limit=16
# Also dump processes executing a set-user-ID/set-group-ID program that is