<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> INFO:core:handle_sigs: child process 5278 exited by a signal 11</div><div> INFO:core:handle_sigs: core was generated</div><div> INFO:core:handle_sigs: terminating due to SIGCHLD</div><div> INFO:core:sig_usr: signal 15 received</div><div> INFO:core:sig_usr: signal 15 received</div><div> INFO:core:sig_usr: signal 15 received</div><div> INFO:core:sig_usr: signal 15 received</div><div> INFO:core:sig_usr: signal 15 received</div><div> INFO:core:sig_usr: signal 15 received</div><div> INFO:core:sig_usr: signal 15 received</div><div> INFO:core:sig_usr: signal 15 received</div><div> INFO:core:sig_usr: signal 15 received</div><div> INFO:core:sig_usr: signal 15 received</div><div> INFO:core:sig_usr: signal 15 received</div><div> INFO:core:sig_usr: signal 15 received</div><div> INFO:core:sig_usr: signal 15 received</div><div> INFO:core:cleanup: 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 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>
</div></div>