[sr-dev] [tracker] Task opened: core dump not working properly in CentOS 7 (and most probably in Fedora > 15)

sip-router bugtracker at sip-router.org
Thu Dec 4 05:24:42 CET 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Nuno Miguel Reis (nmreis) 

Attached to Project - sip-router
Summary - core dump not working properly in CentOS 7 (and most probably in Fedora > 15)
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - I've just did a couple of tests and verifyied that kamailio only generates a core dump if

kernel.core_pattern is set with a full path:

eg:

kernel.core_pattern = /var/run/kamailio/core.%e.sig%s.%p

if kernel.core_pattern is only:

kernel.core_pattern = core.%e.sig%s.%p

kamailio simply doesn't generate a core.

I'm using systemd to launch kamailio with LimitCORE=infinity set which should be enough to get the cores.

This is my current kamailio.service

<code>[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
After=syslog.target network.target postgresql-9.3.service systemd-tmpfiles-setup.service

[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/kamailio
PIDFile=/var/run//kamailio/kamailio.pid
ExecStart=/usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid $OPTIONS
WorkingDirectory=/var/run/kamailio
TimeoutSec=45s
Restart=always
LimitCORE=infinity

[Install]
WantedBy=multi-user.target</code>
 

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=500

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list