[OpenSIPS-Users] Stats for module dialog using binary interface

mayamatakeshi mayamatakeshi at gmail.com
Wed Sep 11 02:50:25 CEST 2013


Hi Liviu,
understood.
I failed to notice "13 + 20 = 33".
Thanks for the clarification.
Regards,
Takeshi



On Tue, Sep 10, 2013 at 7:01 PM, Liviu Chircu <liviu at opensips.org> wrote:

>  Hello Takeshi,
>
> As you probably noticed, the difference comes from several failed dialogs
> (most likely from a negative reply). Since only confirmed dialogs are
> replicated, the standby server will not receive all statistics.
>
> Although the issue is harmless, to me it looks like it needs a fix. I'll
> put in on my TODO list.
>
> Best regards,
>
> Liviu Chircu
> OpenSIPS Devhttp://www.opensips-solutions.com
>
> On 09/09/2013 03:29 PM, mayamatakeshi wrote:
>
>  I am experimenting with the binary interface to replicate dialog data
> between 2 instances of opensips
>
>  After a batch of tests (done after restarting opensips), I compared the
> stats for module dialog and verified they are not the same:
>
> Active server:
> # opensipsctl fifo get_statistics dialog:
> dialog:active_dialogs = 0
> dialog:early_dialogs = 0
> dialog:processed_dialogs = 33
> dialog:expired_dialogs = 0
> dialog:failed_dialogs = 20
> dialog:create_sent = 13
> dialog:update_sent = 49
> dialog:delete_sent = 48
> dialog:create_recv = 0
> dialog:update_recv = 0
> dialog:delete_recv = 0
>
>
> Standby server:
> # opensipsctl fifo get_statistics dialog:
> dialog:active_dialogs = 0
> dialog:early_dialogs = 0
> dialog:processed_dialogs = 13
> dialog:expired_dialogs = 0
> dialog:failed_dialogs = 0
> dialog:create_sent = 0
> dialog:update_sent = 0
> dialog:delete_sent = 0
> dialog:create_recv = 13
> dialog:update_recv = 49
> dialog:delete_recv = 48
>
>
>  Is the above expected? (obs: repeating the tests always produce the same
> numbers).
>
>  Regards,
>  Takeshi
>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130911/dde7b7ef/attachment-0001.htm>


More information about the Users mailing list