<div dir="ltr">Hi Bogdan,<div><br></div><div>Thank you for the response. </div><div>I guess I can implement "trap" with 1.8 also using this code:</div><div><a href="https://github.com/OpenSIPS/opensips/blob/master/scripts/opensipsctl#L2625" target="_blank">https://github.com/OpenSIPS/opensips/blob/master/scripts/opensipsctl#L2625</a><br>
</div><div><br></div><div>I will try that.<br></div><div>Thanks!</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 28, 2014 at 1:38 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@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><tt>Hi Stas,<br>
<br>
It looks like one of the processes gets stuck in doing something
(maybe an I/O ?) while keeping a lock - the rest of processes will
get one by one stuck in that taken lock.<br>
<br>
This is not easy to debug - as a start you could try to get a bt
from each opensips script. Opensipsctl for 1.11 can do that for
you via the "trap" command. Of course, you can do the same with
a small shell script doing gdb+bt for all opensips processes.<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
On <a href="tel:25.07.2014%2021" value="+12507201421" target="_blank">25.07.2014 21</a>:30, Stas Kobzar wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hello List,
<div><br>
</div>
<div>We have strange problem with OpenSIPS that happens already
second time.</div>
<div><br>
</div>
<div>OpenSIPS just stops responding. It is up and running but
there is nothing in the log file.</div>
<div>I can see that there are SIP packets arrives in my tcpdump
log but no response from OpenSIPS.</div>
<div><br>
</div>
<div>We also have monit alerts on CPU usage more then
90%.</div>
<div> </div>
<div>I had to restart it to make it work.</div>
<div><br>
</div>
<div>OpenSIPS was not crashed, I do not have any core dump.</div>
<div><br>
</div>
<div>OpenSIPS is running on VMWare virtual machine
2CPU, 2G RAM, it has 512M of shared memory assigned. There are
around 1000 phones, which is not much for OpenSIPS.</div>
<div><br>
</div>
<div>This also happens at night when there are not much
traffic.</div>
<div><br>
</div>
<div>OpenSIPS version 1.8.4</div>
<div>Loaded modules:</div>
<div>
<div> acc.so </div>
<div>
alias_db.so </div>
<div> auth_db.so </div>
<div> auth.so </div>
<div> avpops.so </div>
<div> cachedb_redis.so </div>
<div> cfgutils.so </div>
<div> db_mysql.so </div>
<div> dialog.so </div>
<div> dispatcher.so </div>
<div> domain.so </div>
<div> drouting.so </div>
<div> exec.so </div>
<div> load_balancer.so </div>
<div> maxfwd.so </div>
<div> mi_fifo.so </div>
<div> mi_xmlrpc.so </div>
<div> nathelper.so </div>
<div> options.so </div>
<div> perl.so </div>
<div> permissions.so </div>
<div> pike.so </div>
<div> presence_callinfo.so </div>
<div> presence_dialoginfo.so </div>
<div> presence_mwi.so </div>
<div> presence.so </div>
<div> presence_xml.so </div>
<div> pua_bla.so </div>
<div> pua_dialoginfo.so </div>
<div> pua_mi.so </div>
<div> pua.so </div>
<div> pua_usrloc.so </div>
<div> registrar.so </div>
<div> rls.so </div>
<div> rr.so </div>
<div> signaling.so </div>
<div> sipmsgops.so </div>
<div> sl.so </div>
<div> textops.so </div>
<div>
tm.so </div>
<div> uac_auth.so </div>
<div> uac.so </div>
<div> uri.so </div>
<div> usrloc.so </div>
<div><br>
</div>
</div>
<div> </div>
<div>Does anyone had any similar problem? Any idea where to
search? <br clear="all">
<div>
Thank you,</div>
<div><br>
</div>
-- <br>
<div dir="ltr">Stas Kobzar<br>
<br>
<span style="border-collapse:collapse">VoIP Developer</span><br>
<a href="tel:514%20284%202020" value="+15142842020" target="_blank">514 284 2020</a><br>
<a href="http://www.modulis.ca/" target="_blank">www.modulis.ca</a><br>
</div>
</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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Stas Kobzar<br><br><span style="border-collapse:collapse">VoIP Developer</span><br>514 284 2020<br><a href="http://www.modulis.ca/" target="_blank">www.modulis.ca</a><br>
</div>
</div>