<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Thank you, Sasmita! Will reply here as soon as there is progress
      on the matter.</tt><br>
    <pre class="moz-signature" cols="72">Liviu Chircu
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 06.06.2016 13:55, Sasmita Panda
      wrote:<br>
    </div>
    <blockquote
cite="mid:CALf-Q45==yd6wuuBJrzzJDJJ=20y3DoNYuZPjdZR8WhwPAS4HA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi ,
        <div><br>
        </div>
        <div> I have created an issue with detailed steps . Bellow is
          the issue ID . Let me know if the issue will get fixed .</div>
        <div><br>
        </div>
        <div>  <a moz-do-not-send="true"
            href="https://github.com/OpenSIPS/opensips/issues/895">https://github.com/OpenSIPS/opensips/issues/895</a><br>
        </div>
        <div><br>
        </div>
        <div>Thanks </div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature" data-smartmail="gmail_signature">
            <div dir="ltr"><b><i>Thanks &amp; Regards</i></b>
              <div><i>Sasmita Panda</i></div>
              <div><i>Network Testing and Software Engineer</i></div>
              <div><i>3CLogic , ph:07827611765</i></div>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Mon, Jun 6, 2016 at 3:32 PM, Sasmita
          Panda <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Thank you so much for the information . Let
              me try to deploy with mongos server . 
              <div><br>
              </div>
              <div>I will post the detailed steps for opensips crash as
                soon as I will be free . </div>
            </div>
            <div class="gmail_extra"><span class=""><br clear="all">
                <div>
                  <div data-smartmail="gmail_signature">
                    <div dir="ltr"><b><i>Thanks &amp; Regards</i></b>
                      <div><i>Sasmita Panda</i></div>
                      <div><i>Network Testing and Software Engineer</i></div>
                      <div><i>3CLogic , ph:07827611765</i></div>
                    </div>
                  </div>
                </div>
                <br>
              </span>
              <div>
                <div class="h5">
                  <div class="gmail_quote">On Mon, Jun 6, 2016 at 2:14
                    PM, Liviu Chircu <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:liviu@opensips.org" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:liviu@opensips.org">liviu@opensips.org</a></a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div text="#000000" bgcolor="#FFFFFF"> <tt>Hi
                          Sasmita!<br>
                          <br>
                          We have some plans to do some more testing on
                          the module, including your "connect directly
                          to replica set" usage case, and  also bringing
                          it up to date with the latest mongo driver.
                          However, it is hard to give you an estimation
                          for when this work will start.<br>
                          <br>
                          Currently, the fastest way to fix your
                          problems is for you to set up a "mongos"
                          instance, along with 3 config server instances
                          (these are needed by mongos, and ensure proper
                          write consistency), and configure
                          "cachedb_mongodb" to use this new "mongos"
                          node.<br>
                          <br>
                          A mongos instance is aware of all the replica
                          sets (aka "shards"). In your case, it will
                          initially shard the keys to your single
                          replica set - thus, it will hold 100% of the
                          data. As your data set grows, you may
                          partition it over to additional replica sets,
                          which you can configure into mongos without
                          modifying anything on the OpenSIPS side. This
                          way, failover within a replica set will also
                          happen transparently, again, without impacting
                          OpenSIPS at all.<br>
                          <br>
                          PS: if you have a way to 100% reproduce a
                          crash, please open a GH ticket describing the
                          steps, and we'll go from there! [1]<br>
                          <br>
                          [1]: <a moz-do-not-send="true"
                            href="https://github.com/OpenSIPS/opensips/issues"
                            target="_blank">https://github.com/OpenSIPS/opensips/issues</a><br>
                        </tt>
                        <pre cols="72">Liviu Chircu
OpenSIPS Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                        <div>
                          <div>
                            <div>On 06.06.2016 11:23, Sasmita Panda
                              wrote:<br>
                            </div>
                          </div>
                        </div>
                        <blockquote type="cite">
                          <div>
                            <div>
                              <div dir="ltr">Hi All ,
                                <div><br>
                                </div>
                                <div>       I am using opesips-1.11 with
                                  mongodb replica set . I have 3 members
                                  in the replica set , promary ,
                                  secondary and arbitrary . </div>
                                <div><br>
                                </div>
                                <div>      Problem 1 :  Sometime , If
                                  primay is not rechable , the secondary
                                  becomes primary , But opensips loss
                                  connection from mongodb . Its wont put
                                  any data in the data base . My call
                                  goes on but their is not data in the
                                  mongodb database . </div>
                                <div><br>
                                </div>
                                <div>        Problme 2: If the primay
                                  machine is down then secondary becomes
                                  primary within some millisecond time
                                   , but  opensips crashes giving bellow
                                  error </div>
                                <div><br>
                                </div>
                                <div>     
                                  ERROR:cachedb_mongodb:mongo_con_get:
                                  Failed to run query. Err = 6, 0 , 0
                                  <div> CRITICAL:core:receive_fd: EOF on
                                    10</div>
                                  <div> <a moz-do-not-send="true">INFO:core:handle_sigs</a>:
                                    child process 5278 exited by a
                                    signal 11</div>
                                  <div> <a moz-do-not-send="true">INFO:core:handle_sigs</a>:
                                    core was generated</div>
                                  <div> <a moz-do-not-send="true">INFO:core:handle_sigs</a>:
                                    terminating due to SIGCHLD</div>
                                  <div> <a moz-do-not-send="true">INFO:core:sig_usr</a>:
                                    signal 15 received</div>
                                  <div> <a moz-do-not-send="true">INFO:core:sig_usr</a>:
                                    signal 15 received</div>
                                  <div> <a moz-do-not-send="true">INFO:core:sig_usr</a>:
                                    signal 15 received</div>
                                  <div> <a moz-do-not-send="true">INFO:core:sig_usr</a>:
                                    signal 15 received</div>
                                  <div> <a moz-do-not-send="true">INFO:core:sig_usr</a>:
                                    signal 15 received</div>
                                  <div> <a moz-do-not-send="true">INFO:core:sig_usr</a>:
                                    signal 15 received</div>
                                  <div> <a moz-do-not-send="true">INFO:core:sig_usr</a>:
                                    signal 15 received</div>
                                  <div> <a moz-do-not-send="true">INFO:core:sig_usr</a>:
                                    signal 15 received</div>
                                  <div> <a moz-do-not-send="true">INFO:core:sig_usr</a>:
                                    signal 15 received</div>
                                  <div> <a moz-do-not-send="true">INFO:core:sig_usr</a>:
                                    signal 15 received</div>
                                  <div> <a moz-do-not-send="true">INFO:core:sig_usr</a>:
                                    signal 15 received</div>
                                  <div> <a moz-do-not-send="true">INFO:core:sig_usr</a>:
                                    signal 15 received</div>
                                  <div> <a moz-do-not-send="true">INFO:core:sig_usr</a>:
                                    signal 15 received</div>
                                  <div> <a moz-do-not-send="true">INFO:core:cleanup</a>:
                                    cleanup</div>
                                  <div> NOTICE:db_cachedb:destroy:
                                    destroy module db_cachedb ...</div>
                                  <div> NOTICE:cachedb_mongodb:destroy:
                                    destroy module cachedb_mongodb ...</div>
                                  <div><br>
                                  </div>
                                  <div>     If my secondary mongodb
                                    machine is not reachable then rather
                                    connection with db breaks for
                                    sometime but opensips wont crashes .
                                    But in case of Primary opensips
                                    crashes with above error . Is this
                                    an expected behavior or I am doing
                                    anything wrong . </div>
                                  <div> </div>
                                  <div>      Data loss can be bearable
                                    but application cant be . So please
                                    let me know whats the problem .    
                                     </div>
                                  <div><br>
                                  </div>
                                  <div>
                                    <div
                                      data-smartmail="gmail_signature">
                                      <div dir="ltr"><b><i>Thanks &amp;
                                            Regards</i></b>
                                        <div><i>Sasmita Panda</i></div>
                                        <div><i>Network Testing and
                                            Software Engineer</i></div>
                                        <div><i>3CLogic , ph:07827611765</i></div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                              <br>
                              <fieldset></fieldset>
                              <br>
                            </div>
                          </div>
                          <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true"
                        href="mailto:Users@lists.opensips.org"
                        target="_blank">Users@lists.opensips.org</a><br>
                      <a moz-do-not-send="true"
                        href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                        rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
    <br>
  </body>
</html>