From 6d72c175edbb7654a643a86411f6f95aae16d10d Mon Sep 17 00:00:00 2001 From: Benoît Ganne Date: Thu, 4 Jul 2019 11:25:59 +0200 Subject: docs: how to enable coredump with systemd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Type: docs Change-Id: I1f657389fec716cc6cdc942803e65f861ffea5f5 Signed-off-by: Benoît Ganne --- src/pkg/debian/vpp.service | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/pkg/debian') diff --git a/src/pkg/debian/vpp.service b/src/pkg/debian/vpp.service index 2e86941de8b..4927feb43cd 100644 --- a/src/pkg/debian/vpp.service +++ b/src/pkg/debian/vpp.service @@ -8,6 +8,11 @@ ExecStartPre=-/sbin/modprobe uio_pci_generic ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api Restart=always +# Uncomment the following line to enable VPP coredumps on crash +# You still need to configure the rest of the system to collect them, see +# https://fdio-vpp.readthedocs.io/en/latest/troubleshooting/reportingissues/reportingissues.html#core-files +# for details +#LimitCORE=infinity [Install] WantedBy=multi-user.target -- cgit 1.2.3-korg