<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Sammy,</p>
    <p>The behavior you described when replicating profiles is not
      actually a loop but instead the normal operation. Dialog profile
      counters are periodically broadcasted by all nodes in the cluster
      to all other nodes. Also, an update is also broadcasted when a
      counter decreases. As such there indeed should not be any direct
      correlation between the number of SIP invites and binary packets
      (containing profile counters) sent. But if the SIP traffic
      contains BYEs or if you end dialogs you might see a surge of
      binary packets.</p>
    <p>As for the crash, can you post a full backtrace from gdb?</p>
    <p>Regards,<br>
    </p>
    <pre class="moz-signature" cols="72">Vlad Patrascu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 1/6/20 1:05 PM, Bogdan-Andrei Iancu
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:92aeb6ae-f0f2-2b0a-64da-02ee494814e9@opensips.org">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      reposting<br>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Summit, Amsterdam, May 2020
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2020Amsterdam/" moz-do-not-send="true">https://www.opensips.org/events/Summit-2020Amsterdam/</a>
OpenSIPS Bootcamp, Miami, March 2020
  <a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_Bootcamp_2020/" moz-do-not-send="true">https://opensips.org/training/OpenSIPS_Bootcamp_2020/</a>

</pre>
      <div class="moz-cite-prefix">On 1/6/20 4:21 AM, SamyGo wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CAJUJwtj6OC1xJ5x4vX73c=P-ZyPNcyr-RfSwrrZHs+_WHvSqVQ@mail.gmail.com">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <div dir="ltr">Hi Bogdan, <br>
          Thanks for taking time out, here are the related config
          params.
          <div><br>
          </div>
          <div><font face="monospace">listen=bin:OPENSIPS_IP:6677<br>
            </font></div>
          <div><font face="monospace"><br>
            </font></div>
          <div><font face="monospace">### dialog module for
              profiles/limits<br>
              loadmodule "dialog.so"<br>
              modparam("dialog", "db_mode", 0)<br>
              modparam("dialog", "profiles_with_value",
"userConcurrent/b;userInbound/b;userOutbound/b;userInternational/b;userTotalCalls/b;inboundDomain/b;outboundDomain/b;globalDomain/b;prefixx<br>
              /b;countryPrefix/b")<br>
              modparam("dialog", "profile_replication_cluster", 1)<br>
              modparam("dialog", "replicate_profiles_timer", 3000)<br>
              modparam("dialog", "replicate_profiles_check", 10)<br>
            </font></div>
          <div><font face="monospace"><br>
            </font></div>
          <div><font face="monospace">### Clustering Module<br>
              loadmodule "clusterer.so"<br>
              modparam("clusterer", "db_mode", 1)<br>
              modparam("clusterer", "my_node_id", 3)<br>
              modparam("clusterer", "sharing_tag", "</font>gw1/1=active<font
              face="monospace">")<br>
              modparam("clusterer", "node_timeout", 20)<br>
            </font></div>
          <div><font face="monospace">modparam("clusterer",
              "db_url","DB_MODULE://DB_USER:DB_PASS@DB_HOST/DB_NAME")</font><br>
          </div>
          <div><br>
          </div>
          <div>Routing logic: </div>
          <div><a href="https://pastebin.com/6whjkhCs"
              moz-do-not-send="true">https://pastebin.com/6whjkhCs</a>  <br>
          </div>
          <div><br>
          </div>
          <div>Related Logs are here.</div>
          <div><a href="https://pastebin.com/a9a3iDQh"
              moz-do-not-send="true">https://pastebin.com/a9a3iDQh</a> </div>
          <div><br>
          </div>
          <div> Wireshark graph showing storm of binary packets when SIP
            invite initiates the related route.<br>
          </div>
          <div><br>
          </div>
          <div><b>BONUS CRASH: </b>When in a cluster I add a new
            profile_with_value , say someVariable/b and restart the
            first box with this variable, the other boxes in cluster
            crash by saying something along the lines of "unexpected
            someVariable received"</div>
          <div><br>
          </div>
          <div>I'm trying to get hold of the core files and as soon as
            possible will share that here.</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>Regards,.</div>
          <div>Sammy.</div>
          <div><br>
          </div>
          <br>
        </div>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>