Am 08.02.2010 20:00, schrieb Dmitri:
Hello,
1. Yes, there is at least 2 times more space than core dump needs.



# Try specifying things manually, as user root:
echo "/tmp/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern

# verify configuration changes
cat /proc/sys/kernel/core_pattern

# set ulimit
ulimit -c unlimited

# start kamailio manually
kamailio

now kamailio should be running as user root and should be able to core dump into /tmp

2. I could find nothing, unfortunately...
I can only see that problem is related to tm.so library:
kamailio kernel: [ 1051.432646] kamailio[2678]: segfault
at 12 ip 00007fa8b592ae43 sp 00007fff48ff9f40 error 4 in
tm.so[7fa8b5917000+72000]

Daniel, I can't remember. Is it necessary to turn off some compiler optimizations in Makefile.defs to get a useful backtrace? (or was that in Asterisk?)

regards
klaus



BR,
Dmitri

I don't know it this applies to you but also check the following:

1. You have enough space in the partition where $COREDIR is created
2. Check that the user that runs kamailio (usually openser) has read
write access on that directory

Also if you grep for core in the /var/log/ directory I believe that
there might be some lines either in dmesg or in messages that tell
you if a core was created or not.

Hope what I said is not redundant and it helps.

Marius



_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Reply via email to