[SR-Users] 5.2.3 - dispatcher module looses setid

Karsten Horsmann khorsmann at gmail.com
Fri Jun 21 23:18:18 CEST 2019


Hi Andrew,

I said that kamctl thing cos I used it in daily basis (muscle minded) and
never saw an empty list if the target hosts are not in trouble.

But there are many moving parts.
For example I use ip addresses for my internal dispatcher configs.

As you described in the last post you are using dns names.

Kamailio had many options (and default options) to tweak and change the dns
behavior.

And you described "its in version 5.2.3".
What version did you use before?
5.0.x to 5.1.x had breaking avp changes in that module and renamed the avp
to something else (see changlogs).

Maybe some of all this moving parts change. And maybe it's an broken dns
resolver or the settings are not optimized for your needs.

As help to see why the dispatcher dump is empty some additional log
informations would be a good thing to do.

And the configuration part could be also useful.

I personally not see that described behavior with Kamailio 5.2.3 (on
Centos). And the dispatcher module is one of the most popular modules AFAIK.

Andrew Chen <achen at fuze.com> schrieb am Fr., 21. Juni 2019, 22:51:

> Hi Karsten,
>
> I confirmed the dispatcher hosts are up and running and so did my
> colleague who fired up the destination server himself.  We confirmed it's
> running when we used 'dig' and 'nslookup' which both returned some IP
> address.
>
> I though kamcmd does what kamctl does?  Also, after doing 'kamcmd
> dispatcher.reload' fixed it again.  I just don't know when this issue will
> happen again given the issue is so intermittent.
>
> On Fri, Jun 21, 2019 at 3:42 PM Karsten Horsmann <khorsmann at gmail.com>
> wrote:
>
>> Hi Andrew,
>>
>>
>> I use the older tool kamctl
>> "kamctl dispatcher dump" with kamailio 5.2.3.
>> Maybe all destinations are "down"?
>>
>> Did you raise log messages on event route dispatcher down / up?
>>
>> Cheers
>> Karsten
>>
>> Andrew Chen <achen at fuze.com> schrieb am Fr., 21. Juni 2019, 18:17:
>>
>>> Hi all,
>>>
>>> For a few times now I've noticed Kamailio 5.2.3 dispatcher module looses
>>> view of setid destination and this system been up and running for 13 days:
>>>
>>> root:~# kamcmd dispatcher.list | grep ash.tpgw.service
>>>
>>> To work around it, we have to reload the module again:
>>>
>>> root:~# kamcmd dispatcher.reload
>>> root:~# kamcmd dispatcher.list | grep ash.tpgw.service
>>> URI: sip:<some host>:5062
>>> URI: sip:<some host>:5060
>>> root:~#
>>>
>>> Process been running for several days:
>>>
>>> root:~# ps -elf | grep kam
>>> 0 S root 8484 6520 0 80 0 - 3714 pipe_w 16:04 pts/0 00:00:00 grep
>>> --color=auto kam
>>> 5 S kamailio 32086 1 0 80 0 - 214845 pause Jun17 ? 00:00:00
>>> /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f
>>> /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio
>>> 1 S kamailio 32164 32086 0 80 0 - 233341 skb_wa Jun17 ? 00:00:02
>>> /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f
>>> /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio
>>> 1 S kamailio 32165 32086 0 80 0 - 233342 skb_wa Jun17 ? 00:00:02
>>> /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f
>>> /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio
>>> 1 S kamailio 32166 32086 0 80 0 - 233341 skb_wa Jun17 ? 00:00:02
>>> /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f
>>> /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio
>>> 1 S kamailio 32167 32086 0 80 0 - 233341 skb_wa Jun17 ? 00:00:02
>>> /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f
>>> /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio
>>> 1 S kamailio 32168 32086 0 80 0 - 214875 skb_wa Jun17 ? 00:00:00
>>> /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f
>>> /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio
>>> 1 S kamailio 32169 32086 0 80 0 - 214875 skb_wa Jun17 ? 00:00:00
>>> /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f
>>> /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio
>>> 1 S kamailio 32170 32086 0 80 0 - 214875 skb_wa Jun17 ? 00:00:00
>>> /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f
>>> /etc/kamailio/kamailio.cfg -m 512 -M 64 -u kamailio -g kamailio
>>>
>>> Anyone seen this?
>>>
>>> Thanks
>>>
>>> --
>>> Andy Chen
>>> Sr. Telephony Lead Engineer
>>> achen@ <achen at thinkingphones.com>fuze.com
>>>
>>>
>>>
>>> *Confidentiality Notice: The information contained in this e-mail and any
>>> attachments may be confidential. If you are not an intended recipient,
>>> you
>>> are hereby notified that any dissemination, distribution or copying of
>>> this
>>> e-mail is strictly prohibited. If you have received this e-mail in error,
>>> please notify the sender and permanently delete the e-mail and any
>>> attachments immediately. You should not retain, copy or use this e-mail
>>> or
>>> any attachment for any purpose, nor disclose all or any part of the
>>> contents to any other person. Thank you.*
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> sr-users at lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> --
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen@ <achen at thinkingphones.com>fuze.com
>
>
> *Confidentiality Notice: The information contained in this e-mail and any
> attachments may be confidential. If you are not an intended recipient, you
> are hereby notified that any dissemination, distribution or copying of this
> e-mail is strictly prohibited. If you have received this e-mail in error,
> please notify the sender and permanently delete the e-mail and any
> attachments immediately. You should not retain, copy or use this e-mail or
> any attachment for any purpose, nor disclose all or any part of the
> contents to any other person. Thank you.*
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190621/542ea22d/attachment.html>


More information about the sr-users mailing list