<div dir="ltr"><div><div><div><div>@Daniel, I know i dont need 1 child per request but i did it because it might keep delays short as it has more threads to work with. I have limited input call origination's from mi_datagram's UDP interface. Also maximum number of calls are capped using dialog profiling.<br><br><br></div>Also i am using opensips 1.11 and i have got a few more logs to share. This time i deliberately put maximum load on opensips and let it crash, Here are is some info collected from core dumps:<br><br></div><b>Log File:</b><br>2017-04-05T17:45:04.986687+05:00 sip01 /usr/local/sbin/opensips[29092]: Total number of dropped replies = 0<br>2017-04-05T17:45:04.986764+05:00 sip01 /usr/local/sbin/opensips[29344]: Total number of dropped replies = 0<br>2017-04-05T17:45:04.987717+05:00 sip01 /usr/local/sbin/opensips[29344]: Real SHMEM used size is 126444552<br>2017-04-05T17:45:04.988274+05:00 sip01 /usr/local/sbin/opensips[29344]: Free SHMEM available is 947297272<br>2017-04-05T17:45:04.988425+05:00 sip01 /usr/local/sbin/opensips[29344]: The total number of SHMEM fragments is 99819<br><br>2017-04-05T17:45:35.519928+05:00 sip01 /usr/local/sbin/opensips[28681]: INFO:core:handle_sigs: child process 28887 exited by a signal 6<br>2017-04-05T17:45:35.730406+05:00 sip01 /usr/local/sbin/opensips[28681]: INFO:core:handle_sigs: core was generated<br>2017-04-05T17:45:35.730879+05:00 sip01 /usr/local/sbin/opensips[28681]: INFO:core:handle_sigs: terminating due to SIGCHLD<br><br></div><b>gdb bt full:</b><br>#5  0x00007f3a81d17f7e in mi_uac_dlg_hdl (t=<optimized out>, type=<optimized out>, ps=0x7ffe99c7eeb0) at mi.c:378<br>        mi_hdl = 0x7f3a44b04b18<br>        rpl_tree = 0x7f3a825f9d60<br>        text = {s = 0x3 <error: Cannot access memory at address 0x3>, len = 0}<br>        __FUNCTION__ = "mi_uac_dlg_hdl"<br><br><br></div>-Qasim<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 5, 2017 at 5:53 PM, Daniel Zanutti <span dir="ltr"><<a href="mailto:daniel.zanutti@gmail.com" target="_blank">daniel.zanutti@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Qasim<div><br></div><div>How did you limit CPS? Because i have a similar scenario (150cps) but i set children to 20 or 24, never 200. You don't need 1 children per request.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Apr 5, 2017 at 9:44 AM, <a href="mailto:qasimakhan@gmail.com" target="_blank">qasimakhan@gmail.com</a> <span dir="ltr"><<a href="mailto:qasimakhan@gmail.com" target="_blank">qasimakhan@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I have this scenario where i originate calls from mi_datagram and the calls are cancelled as soon as it starts ringing. The problem i am facing is that are running for a few minutes the response from opensips becomes slow i.e. it send packets back to far end after a few seconds. Keeping it running for a few hours and it crashes. I have currently limited the calls per second to 200 and max call session to 600, but still there are calls where opensips responds slow to SIP packets. <br></div><br></div><div>Here are a few configurations that i am using:<br><br>fork=yes<br>children=200<br><br>loadmodule "mi_datagram.so"<br>modparam("mi_datagram", "socket_name", "/tmp/opensips.sock")<br>modparam("mi_datagram", "socket_name", "udp:localhost:2000")<br>modparam("mi_datagram", "children_count", 200)<br><br></div><div><br></div>Do you have any pointers where i should start looking at? I have also generated core dump files let me know if you need some more info on this.<br><br></div>Regards,<br></div>Qasim<br></div>
<br></div></div>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>