[Kamailio-Users] Kamailio is loosing all registrations

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 16 17:40:47 CEST 2009


Hello,

do you have some tools that restarts kamailio? Check if such event happened.

Also, put in your config file a line with xlog("") before 
save("location")  and see if you get the xlog message in the logs. In 
this way you are sure the sip message reached the config file.

Cheers,
Daniel

On 16.09.2009 13:12 Uhr, Joao Gomes Pereira wrote:
> In one second everybody is registered... and in the next... everybody 
> is offline:
>
> [root at server ~]# kamctl ul show | grep records
> Domain:: location table=512 records=19 max_slot=1
> [root at server ~]# kamctl ul show | grep records
> Domain:: location table=512 records=3 max_slot=1
> [root at server ~]#
>
>
> If I put debug > 3 it creates lots and lots of debug.... and its 
> impossible to see anything.
> How can I debug this problem?
>
> Thanks
> Regards
> Joao Pereira
>
>
> Joao Gomes Pereira wrote:
>> Hello to all
>> I have been using Kamailio for a long time, but now some of my 
>> clients aren't registering... I see the REGISTER packets coming in 
>> the server (with ngrep), but Kamailio doesn't answer.
>>
>> I'm not using persistent storage, so all registrations are in memory. 
>> But when Kamailio reaches 30 or more registrations... it just stops 
>> answering and looses all registered clients:
>>
>>
>> [root at server ~]#  kamctl ul show | grep records
>> Domain:: location table=512 records=4 max_slot1
>>
>>
>>
>> I have disk space, could this be lack of memory?
>>
>> [root at server ~]# free -m
>>             total       used       free     shared    buffers     cached
>> Mem:           748        630        118          0        148        
>> 391
>> -/+ buffers/cache:         90        658
>> Swap:         1503          0       1503
>>
>>
>> There are no errors in
>> /var/log/kamailio
>> How can I be sure of whats the problem?
>>
>> Thanks
>> Regards
>> Joao Pereira
>>
>>
>>
>> _______________________________________________
>> Kamailio (OpenSER) - Users mailing list
>> Users at lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
>

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/




More information about the Users mailing list