I also know little of BSD, but this is what was required on Linux to get a dump into /tmp:

 

phil@ua-proxy-01:/etc/sysctl.d$ cat 61-core-pattern.conf

fs.suid_dumpable=2

kernel.core_uses_pid=1

kernel.core_pattern=/tmp/core.%e.%p.%h.%t

 

 

From: sr-dev [mailto:sr-dev-bounces@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla
Sent: 09 March 2017 12:02
To: Kamailio Devel List <sr-dev@lists.sip-router.org>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [sr-dev] [kamailio/kamailio] Kamailio core dumped (#1021)

 

I don't know about *BSD, but in Linux there is an option to enable corefiles per process (per pid). It is something like:

echo "1" > /proc/sys/kernel/core_uses_pid

Can you see if there is something similar for *BSD, enable it and test again?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.