<div dir="ltr">hello Razvan<div><br></div><div><div>This is the output of opensips -V</div><div><br></div><div>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</div><div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div><div>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.</div><div>git revision: 823044b</div><div>main.c compiled on 08:28:39 Nov 22 2017 with gcc 4.8.5</div><div><br></div><div>and i am using 100 cps with 1500 concurent calls </div><div><br></div><div>result of opensipsctl fifo get_statistics dialog:</div><div><br></div><div>dialog:active_dialogs:: 1288</div><div>dialog:early_dialogs:: 120</div><div>dialog:processed_dialogs:: 7077</div><div>dialog:expired_dialogs:: 0</div><div>dialog:failed_dialogs:: 14</div><div>dialog:create_sent:: 0</div><div>dialog:update_sent:: 0</div><div>dialog:delete_sent:: 0</div><div>dialog:create_recv:: 0</div><div>dialog:update_recv:: 0</div><div>dialog:delete_recv:: 0</div></div><div><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>Diptesh Patel</b><div>Jr. Software Developer </div><div>Ecosmob Technologies Ltd</div><div>Ahmedabad</div><div>Mo:<b>+919898962659</b></div></div></div></div>
<br><div class="gmail_quote">On Wed, Nov 22, 2017 at 2:36 PM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@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 text="#000000" bgcolor="#FFFFFF">
<tt>So you are seeing ERROR logs regarding memory exhaution, right?
If so, most likely that's the problem. Can you tell me how many
concurrent calls you are having? You can find out by running
'opensipsctl fifo get_statistics dialog:'.<br>
Also, what memory alocator are you using? Can you post the output
of 'opensips -V'?<br>
<br>
Best regards,<br>
</tt><span class="">
<pre class="m_4081758256266972215moz-signature" cols="72">Răzvan Crainea
OpenSIPS Developer
<a class="m_4081758256266972215moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
</span><div><div class="h5"><div class="m_4081758256266972215moz-cite-prefix">On 11/22/2017 07:56 AM, Dipteshkumar
Patel wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">hello Razvan
<div><br>
</div>
<div>Sorry for addressing you as Bogdan.</div>
<div><br>
</div>
<div>We found following statistics after making lots of calls</div>
<div><br>
</div>
<div><span style="color:rgb(38,50,56);font-size:13px">opensipsctl
fifo get_statistics shmem:</span><br style="outline:none;color:rgb(38,50,56);font-size:13px">
<span style="color:rgb(38,50,56);font-size:13px">shmem:total_size::
12582912000</span><br style="outline:none;color:rgb(38,50,56);font-size:13px">
<span style="color:rgb(38,50,56);font-size:13px">shmem:used_size::
7009825993193851937</span><br style="outline:none;color:rgb(38,50,56);font-size:13px">
<span style="color:rgb(38,50,56);font-size:13px">shmem:real_used_size::
7009825993216059273</span><br style="outline:none;color:rgb(38,50,56);font-size:13px">
<span style="color:rgb(38,50,56);font-size:13px">shmem:max_used_size::
18446711925787847093</span><br style="outline:none;color:rgb(38,50,56);font-size:13px">
<span style="color:rgb(38,50,56);font-size:13px">shmem:free_size::
11436918093076404343</span><br style="outline:none;color:rgb(38,50,56);font-size:13px">
<span style="color:rgb(38,50,56);font-size:13px">shmem:fragments::
497092</span><br>
</div>
<div><span style="color:rgb(38,50,56);font-size:13px"><br>
</span></div>
<div><span style="color:rgb(38,50,56);font-size:13px">After
restarting opensips</span></div>
<div><span style="color:rgb(38,50,56);font-size:13px"><br>
</span></div>
<div>
<div><font color="#263238">opensipsctl fifo get_statistics
shmem:</font></div>
<div><font color="#263238">shmem:total_size:: 12582912000</font></div>
<div><font color="#263238">shmem:used_size:: 3369296</font></div>
<div><font color="#263238">shmem:real_used_size:: 3428304</font></div>
<div><font color="#263238">shmem:max_used_size:: 3435928</font></div>
<div><font color="#263238">shmem:free_size:: 12579483696</font></div>
<div><font color="#263238">shmem:fragments:: 1043</font></div>
<div><font color="#263238"><br>
</font></div>
<div><font color="#263238"><br>
</font></div>
<div><font color="#263238">Thanks </font></div>
<div style="color:rgb(38,50,56);font-size:13px"><br>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="m_4081758256266972215gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr"><b>Diptesh Patel</b>
<div>Jr. Software Developer </div>
<div>Ecosmob Technologies Ltd</div>
<div>Ahmedabad</div>
<div>Mo:<b>+919898962659</b></div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Tue, Nov 21, 2017 at 10:46 PM,
Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@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 text="#000000" bgcolor="#FFFFFF"> <tt>So you are not
seeing any memory reports, are you?<br>
You should also check what opensips is doing when the
CPU usage goes up. For example, when the issue occurs,
write down the PIDs involved and then do a full gdb
snapshot using the 'opensipsctl trap' command. Get this
information and send the resulted info here.<br>
<br>
Best regards,</tt><span>
<pre class="m_4081758256266972215m_3849705243147008334moz-signature" cols="72">Răzvan Crainea
OpenSIPS Developer
<a class="m_4081758256266972215m_3849705243147008334moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
</span><span>
<div class="m_4081758256266972215m_3849705243147008334moz-cite-prefix">On
11/21/2017 06:06 PM, Dipteshkumar Patel wrote:<br>
</div>
</span>
<blockquote type="cite">
<div dir="ltr">hello Bogdan
<div><br>
</div>
<span>
<div>I am using -m 12000 -M 24 at startup.</div>
<div><br>
</div>
<div>thanks</div>
<div><br>
</div>
<div><br>
</div>
</span></div>
<span>
<div class="gmail_extra"><br clear="all">
<div>
<div class="m_4081758256266972215m_3849705243147008334gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr"><b>Diptesh Patel</b>
<div>Jr. Software Developer </div>
<div>Ecosmob Technologies Ltd</div>
<div>Ahmedabad</div>
<div>Mo:<b>+919898962659</b><br>
</div>
</div>
</div>
</div>
</div>
</span></blockquote>
</div>
<br>
______________________________<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>
<fieldset class="m_4081758256266972215mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_4081758256266972215moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_4081758256266972215moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div></div></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>