[SR-Users] Kamailio stops responding after 10 days or so

Morten Isaksen misak at misak.dk
Thu Apr 7 23:00:18 CEST 2011


Hi,

No, normal CPU usage.

Thanks for the sugestion - I will try that next time.

/Morten

On Thu, Apr 7, 2011 at 10:52 PM, Daniel-Constantin Mierla
<miconda at gmail.com> wrote:
> Hello,
>
> do you get high CPU usage by kamailio?
>
> What you can do is to attach with gdb to kamailio processes and see what
> they are doing:
>
> gdb   /path/to/kamailio   pid_of_a_kamailio_process
> bt
>
> You should attach to the sip worker processes - you can find the type of
> processes with 'kamctl ps'.
>
> Cheers,
> Daniel
>
> On 4/7/11 9:02 PM, Morten Isaksen wrote:
>>
>> Hi!
>>
>> Kamailio 3.0.3.
>>
>> I have a strange problem with one of our Kamailio servers. This one is
>> used for routing (with carrierroute) and to send presence information
>> (with pua module)
>>
>> Once every 10 day or so I get this error and then Kamailio stops
>> responding to any SIP packets.
>>
>> Apr  6 08:05:48 sip-core-1 /usr/local/sbin/kamailio[9186]: WARNING:
>> <script>: Failure route - M=INVITE RURI=sip:8615XXXX at 178.XX.XX.XX
>> F=sip:861XXXXX at 188.120.93.114:1025 T=sip:86155XXXX at sip1.uni-tel.dk
>> IP=178.XX.XX.XX ID=6de881ec07f9c6494ee589cf208da358 at 10.11.87.206
>> Apr  6 08:05:48 sip-core-1 /usr/local/sbin/kamailio[9186]: ERROR:
>> carrierroute [cr_func.c:95]: cannot find AVP 'carrier'
>> Apr  6 08:05:48 sip-core-1 /usr/local/sbin/kamailio[9186]: ERROR:
>> carrierroute [cr_func.c:805]: invalid carrier id -1
>> Apr  6 08:05:48 sip-core-1 /usr/local/sbin/kamailio[9186]: ERROR:
>> <script>: cr_next_domain failed
>>
>>
>> Shared memory size is 128M and over halv is free just before the
>> error. The server is in production and does handle debug>1 well, so I
>> do not have much information in the log files. Private memory is the
>> default size.
>>
>> Any ideas what it could be, or how to investegate further?
>>
>> I think my next steps would be to increase the private memory og to
>> increase children=4 to children=8
>>
>
> --
> Daniel-Constantin Mierla
> http://www.asipto.com
>
>



-- 
Morten Isaksen



More information about the sr-users mailing list