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-boun...@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 <subscri...@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<https://github.com/kamailio/kamailio/issues/1021#issuecomment-285333557>,
 or mute the 
thread<https://github.com/notifications/unsubscribe-auth/AF36ZYmXju3xSskPpRjzfkfWJDhpsoyvks5rj-pGgaJpZM4MVTh1>.
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to