[OpenSIPS-Users] dialog statistic problem

Denis Putyato denis7979 at mail.ru
Tue Mar 1 11:42:29 CET 2011


Bogdan, sorry, but as I understand everything I need is download timeout_process.c and recompile nathelper module? 


-----Original Message-----
From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
Sent: Tuesday, March 01, 2011 1:16 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] dialog statistic problem

Hi Denis,

Problem found and fixed - something related to the nathelper module and 
the RTP timeout notification - see revisions 7763 and 7764.

Thanks a lot for the help in troubleshooting this.

Regards,
Bogdan

Denis Putyato wrote:
> Bogdan, since Mar  1 07:55:36 I didn't restart Opensips so
>
>   
>> Mar  1 07:55:36 opensips /usr/local/opensips1.6.4-2/sbin/opensips[11382]: CRITICAL:dialog:child_init:  xXx - active dialogs=2 , early=0
>> Mar  1 07:55:36 opensips /usr/local/opensips1.6.4-2/sbin/opensips[11380]: CRITICAL:dialog:child_init:  xXx - active dialogs=2 , early=0
>>     
>
> /usr/local/opensips1.6.4-2/sbin/opensipsctl fifo ps
> Process::  ID=0 PID=11378 Type=attendant
> Process::  ID=1 PID=11380 Type=RTPP timeout receiver
> Process::  ID=2 PID=11381 Type=MI FIFO
> Process::  ID=3 PID=11382 Type=SIP receiver udp:213.170.100.150:5060 
> Process::  ID=4 PID=11383 Type=SIP receiver udp:213.170.100.150:5068 
> Process::  ID=5 PID=11384 Type=time_keeper
> Process::  ID=6 PID=11385 Type=timer
> Process::  ID=7 PID=11386 Type=timer
> Process::  ID=8 PID=11387 Type=TCP receiver
> Process::  ID=9 PID=11388 Type=TCP main
>
> -----Original Message-----
> From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
> Sent: Tuesday, March 01, 2011 12:27 PM
> To: OpenSIPS users mailling list
> Subject: Re: [OpenSIPS-Users] dialog statistic problem
>
> OK, that seams to be the problem - it should be triggered only once.
>
> After a restart, please send me:
> 1) the two xXx logs (with the pid)
> 2) output of "opensipsctl fifo ps"
>
> I want to identify what is the second process triggering the xXx
>
> Thanks and regards,
> Bogdan
>
> Denis Putyato wrote:
>   
>> No, during restart xXx appears twice
>>
>> $cat /var/log/opensips | grep xXx
>> Mar  1 07:21:05 opensips /usr/local/opensips1.6.4-2/sbin/opensips[26589]: CRITICAL:dialog:child_init:  xXx - active dialogs=5 , early=0
>> Mar  1 07:21:05 opensips /usr/local/opensips1.6.4-2/sbin/opensips[26587]: CRITICAL:dialog:child_init:  xXx - active dialogs=5 , early=0
>> Mar  1 07:23:28 opensips /usr/local/opensips1.6.4-2/sbin/opensips[28228]: CRITICAL:dialog:child_init:  xXx - active dialogs=1 , early=0
>> Mar  1 07:23:28 opensips /usr/local/opensips1.6.4-2/sbin/opensips[28226]: CRITICAL:dialog:child_init:  xXx - active dialogs=1 , early=0
>> Mar  1 07:25:21 opensips /usr/local/opensips1.6.4-2/sbin/opensips[29507]: CRITICAL:dialog:child_init:  xXx - active dialogs=0 , early=0
>> Mar  1 07:25:21 opensips /usr/local/opensips1.6.4-2/sbin/opensips[29509]: CRITICAL:dialog:child_init:  xXx - active dialogs=0 , early=0
>> Mar  1 07:48:20 opensips /usr/local/opensips1.6.4-2/sbin/opensips[7610]: CRITICAL:dialog:child_init:  xXx - active dialogs=4 , early=0
>> Mar  1 07:48:20 opensips /usr/local/opensips1.6.4-2/sbin/opensips[7608]: CRITICAL:dialog:child_init:  xXx - active dialogs=4 , early=0
>> Mar  1 07:55:36 opensips /usr/local/opensips1.6.4-2/sbin/opensips[11382]: CRITICAL:dialog:child_init:  xXx - active dialogs=2 , early=0
>> Mar  1 07:55:36 opensips /usr/local/opensips1.6.4-2/sbin/opensips[11380]: CRITICAL:dialog:child_init:  xXx - active dialogs=2 , early=0
>>
>> -----Original Message-----
>> From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
>> Sent: Tuesday, March 01, 2011 11:47 AM
>> To: OpenSIPS users mailling list
>> Subject: Re: [OpenSIPS-Users] dialog statistic problem
>>
>> Denis,
>>
>> this xXx marker appears only ones, right ?
>>
>> Regards,
>> Bogdan
>>
>> Denis Putyato wrote:
>>   
>>     
>>> Hello Bogdan
>>>
>>> I applied patch and it seems that "???" shows real number of dialogs while active statistic shows incorrect number
>>>
>>> -----Original Message-----
>>> From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
>>> Sent: Monday, February 28, 2011 5:55 PM
>>> To: OpenSIPS users mailling list
>>> Subject: Re: [OpenSIPS-Users] dialog statistic problem
>>>
>>> Hi Denis,
>>>
>>> Please apply this small patch that will provide some extra on startup (about the dialogs found in DB) - look for a line with marked with "xXx" 
>>> and see if the printed values are correct.
>>>
>>> Regards,
>>> Bogdan
>>>
>>> Denis Putyato wrote:
>>>   
>>>     
>>>       
>>>> Hello Bogdan
>>>>
>>>> - Server:: OpenSIPS (1.6.4-2-notls (x86_64/linux))
>>>> - fork = yes (default)
>>>> -
>>>> listen=xxx.xxx.xxx.xxx:5060
>>>> listen=xxx.xxx.xxx.xxx:5068
>>>> - i do not use tcp
>>>> -
>>>> loadmodule "db_mysql.so"
>>>> loadmodule "sl.so"
>>>> loadmodule "tm.so"
>>>> loadmodule "signaling.so"
>>>> loadmodule "auth.so"
>>>> loadmodule "rr.so"
>>>> loadmodule "maxfwd.so"
>>>> loadmodule "textops.so"
>>>> loadmodule "mi_fifo.so"
>>>> loadmodule "uri.so"
>>>> loadmodule "domain.so"
>>>> loadmodule "drouting.so"
>>>> loadmodule "siptrace.so"
>>>> loadmodule "avpops.so"
>>>> loadmodule "dialplan.so"
>>>> loadmodule "dialog.so"
>>>> loadmodule "permissions.so"
>>>> loadmodule "usrloc.so"
>>>> loadmodule "registrar.so"
>>>> loadmodule "alias_db.so"
>>>> loadmodule "auth_db.so"
>>>> loadmodule "nathelper.so"
>>>> loadmodule "acc.so"
>>>> loadmodule "uac.so"
>>>> loadmodule "aaa_radius.so"
>>>>
>>>> -----Original Message-----
>>>> From: users-bounces at lists.opensips.org 
>>>> [mailto:users-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei 
>>>> Iancu
>>>> Sent: Monday, February 28, 2011 1:17 PM
>>>> To: OpenSIPS users mailling list
>>>> Subject: Re: [OpenSIPS-Users] dialog statistic problem
>>>>
>>>> Hi Denis,
>>>>
>>>> What revision number are you using ?
>>>>
>>>> Also, do you have "fork" enabled?
>>>> Do you use multiple UDP interfaces?
>>>> Do you have TCP enabled ?
>>>> What are the modules you are using ?
>>>>
>>>> Regards,
>>>> Bogdan
>>>>
>>>> Denis Putyato wrote:
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> Hello!
>>>>>
>>>>> I found active dialog statistic problem
>>>>>
>>>>> For example in dialog::active_dialogs I have 130 active calls, after 
>>>>> restart Opensips I already have dialog::active_dialogs nearly 260, 
>>>>> i.e. the number of active dialogs increase by 2.
>>>>>
>>>>> Meanwhile, after restart, opensipsctl fifo dlg_list | grep dialog:: | 
>>>>> wc –l shows me that really number of calls greatly less.
>>>>>
>>>>> The opensipsctl fifo reset_statistics didn`t help. Only when I stop 
>>>>> all traffic via Opensips (but not Opensips) and then restart one, 
>>>>> dialog::active_dialogs become zero and begin increase when new calls 
>>>>> come to Opensips
>>>>>
>>>>> Thank you for any help
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> ---
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opensips.org
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>   
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>>   
>>>>     
>>>>       
>>>>         
>>> --
>>> Bogdan-Andrei Iancu
>>> OpenSIPS eBootcamp - 28th February 2011
>>> OpenSIPS solutions and "know-how"
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>   
>>>     
>>>       
>>   
>>     
>
>
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 28th February 2011
OpenSIPS solutions and "know-how"


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list