<div dir="ltr">Thanks Liviu.Will give it a try and let you know if it fixes the issue.<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 6, 2016 at 4:16 PM, Liviu Chircu [via OpenSIPS (Open SIP Server)] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=7605210&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        Hi, Ankur!
<br><br>Looking at the memory map, I noticed you are using the rest_client 
<br>module. Consequently, if your script contains any blocking rest_get() / 
<br>rest_post() calls, the occasional crash you are seeing is explainable, 
<br>due to a libcurl thread race condition we were not aware of.
<br><br>If the above is true for you, then a fix is already available on all 
<br>GitHub branches [1], and starting tomorrow, on the nightly repositories 
<br>[2] as well.
<br><br>Regards,
<br><br>[1]: <a href="https://github.com/OpenSIPS/opensips/tree/2.2" rel="nofollow" link="external" target="_blank">https://github.com/OpenSIPS/<wbr>opensips/tree/2.2</a><br><br>[2]: <a href="http://www.opensips.org/Downloads/Downloads" rel="nofollow" link="external" target="_blank">http://www.opensips.org/<wbr>Downloads/Downloads</a><br><br>Liviu Chircu
<br>OpenSIPS Developer
<br><a href="http://www.opensips-solutions.com" rel="nofollow" link="external" target="_blank">http://www.opensips-solutions.<wbr>com</a><span class=""><br><br>On 05.12.2016 19:38, ankurgupta01 wrote:
</span><div class="m_-2647034361946048444shrinkable-quote"><span class=""><br>> We have increased  PKG mem to 16 MB but it keeps on crashing.Sometimes it
<br>> takes 3-4 days before it crashes.It does not crashes immediately.
<br>>
<br>>
<br>>
<br>>
<br></span>> --
<br>> View this message in context: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/Crash-in-OpenSips-tp7604953p7605199.html" rel="nofollow" link="external" target="_blank">http://opensips-open-sip-<wbr>server.1449251.n2.nabble.com/<wbr>Crash-in-OpenSips-<wbr>tp7604953p7605199.html</a><span class=""><br>> Sent from the OpenSIPS - Devel mailing list archive at Nabble.com.
<br>>
<br>> ______________________________<wbr>_________________
<br>> Devel mailing list
<br>> <a href="http:///user/SendEmail.jtp?type=node&node=7605209&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" rel="nofollow" link="external" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/devel</a></span></div><span class=""><br><br>______________________________<wbr>_________________
<br>Devel mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&node=7605209&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" rel="nofollow" link="external" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/devel</a><br>

        
        
        
        <br>
        <br>
        </span><hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><span class="">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </span><a href="http://opensips-open-sip-server.1449251.n2.nabble.com/Crash-in-OpenSips-tp7604953p7605209.html" target="_blank" rel="nofollow" link="external">http://opensips-open-sip-<wbr>server.1449251.n2.nabble.com/<wbr>Crash-in-OpenSips-<wbr>tp7604953p7605209.html</a>
        </div><div class="HOEnZb"><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Crash in OpenSips, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div></blockquote></div><br></div></div></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/Crash-in-OpenSips-tp7604953p7605210.html">Re: Crash in OpenSips</a><br/>
Sent from the <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Devel-f1449246.html">OpenSIPS - Devel mailing list archive</a> at Nabble.com.<br/>