[Kamailio-Users] Kernel Message
Alex Balashov
abalashov at evaristesys.com
Thu Feb 12 22:23:41 CET 2009
Daniel-Constantin Mierla wrote:
> On 02/12/2009 11:11 PM, Alex Balashov wrote:
>> Brian Chamberlain wrote:
>>
>>> On 12 Feb 2009, at 21:06, Alex Balashov wrote:
>>>
>>>
>>>> Daniel-Constantin Mierla wrote:
>>>>
>>>>> Hello,
>>>>> correlating messages:
>>>>> Feb 12 20:27:22 sw1 kernel: [3273100.093090] INFO: task
>>>>> kamailio:22821 blocked for more than 120 seconds.
>>>>> and
>>>>> Process:: ID=14 PID=22821 Type=MI Datagram
>>>>> seems that one of your MI datagram was blocked for some time. Are
>>>>> you using MI datagram commands often? What are they?
>>>>>
>>>> Brian, I would guess CDRtool and its rating engine use a lot of MI
>>>> commands as part of its interface with the proxy. Daniel, can you
>>>> corroborate that?
>>>>
>>> I've been doing a lot of rerating today as it goes..
>>>
>>
>> I don't know that this results in a lot of MI commands. I think
>> CDRtool and its processes use a lot of MI for managing session timers
>> and stuff like that, or maybe that's Call Control. I'm not really
>> familiar with AG Projects' technology stack.
>>
> OK, so we identified the source. Thanks a lot Alex!
>
> Brian, you could sniff the UDP traffic for MI datagram, are you using
> UDP sockets or unix sockets?
UNIX domain sockets. I am not aware of a good way to "sniff" those. Is
there one?
I suppose one could switch to UDP sockets...
> Anyhow, I wonder what the cdrtool would need for rating from kamailio...
> so if you can get the commands send by cdrtool, I can tell you where is
> the possible lock.
I do not know.
I've been trying to help Brian with this, but I just don't know enough
about the AG Projects end of things.
--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775
More information about the sr-users
mailing list