Yes, I've got it.
In FreeBSD corefiles per PID can sets via sysctl:
sysctl kern.corefile=/mnt/coredumps/%N.%P.core, where are %N - name of process, %P - number of pid

I've run kamailio again and got only one core, named as:

# ls -1 /mnt/coredumps/
kamailio.84671.core
#

And logs says that only one core was generate (for PID 84671):

Mar 9 15:27:38 sip7 /usr/local/sbin/kamailio[84666]: ALERT: [main.c:740]: handle_sigs(): child process 84671 exited by a signal 11
Mar 9 15:27:38 sip7 /usr/local/sbin/kamailio[84666]: ALERT: [main.c:743]: handle_sigs(): core was generated
Mar 9 15:27:38 sip7 /usr/local/sbin/kamailio[84666]: INFO: [main.c:755]: handle_sigs(): terminating due to SIGCHLD

Here is log for this pid: http://tmp.lehis.ru/tmp/kam.log.txt

How can I turn on debug symbols?


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