<div dir="ltr"><div><div><div>Hi Liviu,<br></div>understood.<br>I failed to notice "13 + 20 = 33".<br></div>Thanks for the clarification.<br></div>Regards,<br>Takeshi<br><div><div><br></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Sep 10, 2013 at 7:01 PM, Liviu Chircu <span dir="ltr"><<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hello Takeshi,<br>
<br>
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.<br>
<br>
Although the issue is harmless, to me it looks like it needs a
fix. I'll put in on my TODO list.<br>
<br>
Best regards,<br>
<pre cols="72">Liviu Chircu
OpenSIPS Dev
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
On 09/09/2013 03:29 PM, mayamatakeshi wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>I am experimenting with the binary interface to replicate
dialog data between 2 instances of opensips<br>
<br>
</div>
After a batch of tests (done after restarting opensips), I
compared the stats for module dialog and verified they are not
the same:<br>
<div><br>
Active server:<br>
# opensipsctl fifo get_statistics dialog:<br>
dialog:active_dialogs = 0<br>
dialog:early_dialogs = 0<br>
dialog:processed_dialogs = 33<br>
dialog:expired_dialogs = 0<br>
dialog:failed_dialogs = 20<br>
dialog:create_sent = 13<br>
dialog:update_sent = 49<br>
dialog:delete_sent = 48<br>
dialog:create_recv = 0<br>
dialog:update_recv = 0<br>
dialog:delete_recv = 0<br>
<br>
<br>
Standby server:<br>
# opensipsctl fifo get_statistics dialog:<br>
dialog:active_dialogs = 0<br>
dialog:early_dialogs = 0<br>
dialog:processed_dialogs = 13<br>
dialog:expired_dialogs = 0<br>
dialog:failed_dialogs = 0<br>
dialog:create_sent = 0<br>
dialog:update_sent = 0<br>
dialog:delete_sent = 0<br>
dialog:create_recv = 13<br>
dialog:update_recv = 49<br>
dialog:delete_recv = 48<br>
<br>
<br>
</div>
<div>Is the above expected? (obs: repeating the tests always
produce the same numbers).<br>
</div>
<div><br>
</div>
<div>Regards,<br>
</div>
<div>Takeshi<br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>