[sr-dev] [tracker] Task opened: kamailio does not stop if debug >= 3

sip-router admin at sip-router.org
Fri Jan 20 19:39:15 CET 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

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

User who did this - Rob Gagnon (rgagnon) 

Attached to Project - sip-router
Summary - kamailio does not stop if debug >= 3
Task Type - Bug Report
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - Linux
Severity - Medium
Priority - Normal
Reported Version - 3.1
Due in Version - Undecided
Due Date - Undecided
Details - If kamailio.cfg has debug set to 3 or more, or if the "kamctl fifo debug 3" (or a number above 3) is issued after starting kamailio, it will not stop unless debug is changed first to a number below 3, or issuing a second stop request.

Using CentOS 5.7 x86_64
Installed Kamailio 3.2.1 from RPM

Steps to Reproduce:
~~~~~~~~~~~~~~~~~~~
service kamailio start  # indicates "OK"
kamctl fifo debug 3
service kamailio stop   # After a longer than normal pause, indicates "OK"
ps -ef|grep kamailio    # shows kamailio still running
service kamailio stop   # After a longer than normal pause, indicates "OK"
ps -ef|grep kamailio    # does not show kamailio running

Work-around I've implemented for now:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Within /etc/init.d/kamailio, in the "stop()" area of the code.  I've added a "kamctl fifo debug 1" before the "killproc $KAM".  

This ensures the debug level is lowered before stopping the program.

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

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