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-boun...@lists.opensips.org 
[mailto:users-boun...@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-boun...@lists.opensips.org 
[mailto:users-boun...@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-boun...@lists.opensips.org [mailto:users-boun...@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@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@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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to