summaryrefslogtreecommitdiffstats
path: root/docs/troubleshooting/reportingissues/reportingissues.rst
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-07-04 11:25:59 +0200
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2019-07-12 01:51:59 +0000
commit6d72c175edbb7654a643a86411f6f95aae16d10d (patch)
treee409af87cec7cf1116691d5018703c6bdd223ce0 /docs/troubleshooting/reportingissues/reportingissues.rst
parentbbe6d110a10d64e5bde21c4b839642acfbf91cbd (diff)
docs: how to enable coredump with systemd
Type: docs Change-Id: I1f657389fec716cc6cdc942803e65f861ffea5f5 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'docs/troubleshooting/reportingissues/reportingissues.rst')
-rw-r--r--docs/troubleshooting/reportingissues/reportingissues.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/troubleshooting/reportingissues/reportingissues.rst b/docs/troubleshooting/reportingissues/reportingissues.rst
index 261dec9013a..73b2397477f 100644
--- a/docs/troubleshooting/reportingissues/reportingissues.rst
+++ b/docs/troubleshooting/reportingissues/reportingissues.rst
@@ -194,6 +194,10 @@ will capture usable vpp core files in /tmp/dumps.
# ulimit -c unlimited
# echo 2 > /proc/sys/fs/suid_dumpable
+If you start VPP from systemd, you also need to edit
+/lib/systemd/system/vpp.service and uncomment the "LimitCORE=infinity"
+line before restarting VPP.
+
Vpp core files often appear enormous. Gzip typically compresses them
to manageable sizes. A multi-GByte corefile often compresses to 10-20
Mbytes.